Rémi Verschelde
c459fad43c
Merge pull request #22536 from DualMatrix/no_advance
...
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-30 22:16:26 +02:00
Rémi Verschelde
12ea8b9074
Merge pull request #22570 from lupoDharkael/todo-remove
...
Remove old TODO from editor_inspector.cpp
2018-09-30 22:10:54 +02:00
lupoDharkael
b39bcd8821
Remove old TODO from editor_inspector.cpp
2018-09-30 21:08:33 +02:00
Dominique LaSalle
df06087057
Explicitly show viewport 0 in the SpatialEditorPlugin if the container is large enough.
2018-09-30 10:09:31 -07:00
Hugo Locurcio
88755d28d7
Add a subtle background and border to unselected tabs in the editor
2018-09-30 19:01:32 +02:00
groud
0829fdafb0
Adds the display of the favorites into the file list
2018-09-30 15:32:57 +02:00
DualMatrix
6f96db4732
Fixed setting node as root deleting all non-children of that node.
...
Fixed setting node as root deleting all non-children of that node.
2018-09-30 00:04:18 +02:00
Rémi Verschelde
0378a9ba80
Merge pull request #22520 from akien-mga/fix-warnings
...
Fix warning about functions defined but not used [-Wunused-function]
2018-09-29 23:51:17 +02:00
Rémi Verschelde
dc6d95f4a1
Merge pull request #22524 from DualMatrix/error_spam_3_please_be_final
...
Fixed error spam when selecting root in remote tree
2018-09-29 22:44:13 +02:00
Rémi Verschelde
e1dc8e4e99
Merge pull request #22522 from DualMatrix/debugging_the_debugger_3
...
Fixed debugger showing wrong name for Objects.
2018-09-29 22:43:41 +02:00
Rémi Verschelde
62ecb44035
Fix warning about functions defined but not used [-Wunused-function]
...
Fixes the following GCC 5 warnings:
```
core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function]
core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function]
editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function]
editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function]
modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function]
scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
```
Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword.
Not fixed yet (static definition in header used in some files but not all):
```
modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function]
```
Also fixed a couple other warnings missed in previous commits.
2018-09-29 22:26:12 +02:00
DualMatrix
9aa83a77ab
Fixed editor inspector ranges capping values at 65535.
...
Fixed editor inspector ranges capping values at 65535.
2018-09-29 17:05:31 +02:00
DualMatrix
5f2f108908
Fixed animation_player not advancing to the next frame when inserting a value.
...
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-29 16:44:20 +02:00
Juan Linietsky
c83742ba86
-Lightmap and lightmap capture support for GLES2
...
-Added hint to not show some properties when running on low end gfx
2018-09-28 20:33:18 -03:00
DualMatrix
75f5fd20a1
Fixed error spam when selecting root in remote tree
...
Fixed error spam when selecting root in remote tree
2018-09-29 01:03:50 +02:00
DualMatrix
9bb65399d9
Fixed debugger showing wrong name for Objects.
...
Fixed debugger showing wrong name for Objects.
2018-09-29 00:23:20 +02:00
Juan Linietsky
f2ed26d71e
Reflection probe support in GLES2 back-end.
2018-09-28 16:42:47 -03:00
Rémi Verschelde
dea0f69296
Merge pull request #22517 from DualMatrix/debugging_the_debugger_2
...
Fixed Objects do not showing their drop down in debugger.
2018-09-28 19:59:37 +02:00
DualMatrix
d4df4c1475
Fixed Objects do not showing their drop down in debugger
...
Fixed Objects do not showing their drop down in debugger
2018-09-28 19:08:31 +02:00
Rémi Verschelde
c3bb4edb79
Merge pull request #22508 from groud/add_thumnail_filelist
...
Add small thumbnails to the FileSystem file list
2018-09-28 14:45:46 +02:00
Rémi Verschelde
3a2ca68af3
SCons: Build thirdparty code in own env, disable warnings
...
Also remove unnecessary `Export('env')` in other SCsubs,
Export should only be used when exporting *new* objects.
2018-09-28 14:07:39 +02:00
groud
7d59e05ae8
Add thumbnails to the FileSystem file list
2018-09-28 13:26:36 +02:00
Rémi Verschelde
d55491a7b8
Merge pull request #22407 from DualMatrix/step_int
...
Added step support when exporting integers.
2018-09-28 10:39:50 +02:00
Rémi Verschelde
c7e646c30a
Merge pull request #22447 from akien-mga/fix-warnings-Wswitch
...
Fix warnings about unhandled enum value in switch [-Wswitch]
2018-09-28 09:47:29 +02:00
Rémi Verschelde
7b081a7fc8
Fix warnings about unhandled enum value in switch [-Wswitch]
...
Fixes GCC 5 warnings of the form:
core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch]
core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch]
Those can be trivial cases where adding a default fallback is the solution,
or more complex issues/hidden bugs where missed values are actually meant
to be handled.
2018-09-27 18:34:30 +02:00
Rémi Verschelde
1b63dd83bd
Merge pull request #22482 from groud/text_rulers
...
Place the ruler text vertically
2018-09-27 18:13:31 +02:00
groud
dfe81b9840
Place the ruler text vertically
2018-09-27 16:50:40 +02:00
Rémi Verschelde
4cf5bb0276
Merge pull request #22446 from akien-mga/fix-warnings
...
Fix various warnings raised by GCC 5
2018-09-27 16:48:09 +02:00
Rémi Verschelde
cdc411fd54
Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more
...
Fixes the following GCC 5 warnings:
```
core/os/file_access.cpp:49:19: warning: the address of 'FileAccess::create_func' will always evaluate as 'true' [-Waddress]
servers/audio_server.cpp:192:70: warning: comparison with string literal results in unspecified behaviour [-Waddress]
drivers/gles2/rasterizer_storage_gles2.cpp:4095:90: warning: NULL used in arithmetic [-Wpointer-arith]
modules/gdnative/register_types.cpp:237:3: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
platform/android/export/export.cpp:207:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
modules/gdscript/gdscript.h:150:67: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:119:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:123:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:127:50: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:131:52: warning: returning reference to temporary [-Wreturn-local-addr]
editor/plugins/skeleton_editor_plugin.cpp:34:36: warning: extra tokens at end of #include directive
modules/bullet/bullet_types_converter.cpp:31:9: warning: #pragma once in main file
editor/import/editor_scene_importer_gltf.cpp:1996:51: warning: name lookup of 'i' changed
modules/visual_script/visual_script_property_selector.cpp:402:45: warning: name lookup of 'E' changed
scene/gui/tree.cpp:1268:25: warning: name lookup of 'i' changed
scene/resources/visual_shader.cpp:808:32: warning: name lookup of 'i' changed
```
2018-09-27 16:33:52 +02:00
Rémi Verschelde
d95bbb8922
Fix warnings about set but unused variables [-Wunused-but-set-variable]
...
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_canvas_gles2.cpp:814:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2270:11: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2673:22: warning: variable 'e' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:715:7: warning: variable 'no_cull' set but not used [-Wunused-but-set-variable]
drivers/gles2/shader_gles2.cpp:693:14: warning: variable 'cc' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_canvas_gles3.cpp:1226:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:3039:10: warning: variable 'contrib' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:4504:32: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
editor/editor_inspector.cpp:272:9: warning: variable 'guide_color' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:1067:14: warning: variable 'alpha3' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:263:8: warning: variable 'script_bg_color' set but not used [-Wunused-but-set-variable]
editor/plugins/collision_shape_2d_editor_plugin.cpp:326:11: warning: variable 'cpoint' set but not used [-Wunused-but-set-variable]
editor/plugins/mesh_editor_plugin.cpp:72:9: warning: variable 'size' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:471:12: warning: variable 'mpos' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:89:8: warning: variable 'basetype_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:90:8: warning: variable 'type_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:92:8: warning: variable 'string_color' set but not used [-Wunused-but-set-variable]
modules/visual_script/visual_script_editor.cpp:2521:7: warning: variable 'seq_connect' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:580:12: warning: variable 'styles_count' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:584:12: warning: variable 'styles_offset' set but not used [-Wunused-but-set-variable]
platform/osx/export/export.cpp:464:9: warning: variable 'zerr' set but not used [-Wunused-but-set-variable]
scene/2d/tile_map.cpp:260:10: warning: variable 'tcenter' set but not used [-Wunused-but-set-variable]
scene/3d/light.cpp:166:7: warning: variable 'editor_ok' set but not used [-Wunused-but-set-variable]
scene/3d/navigation.cpp:566:11: warning: variable 'closest_navmesh' set but not used [-Wunused-but-set-variable]
scene/gui/rich_text_label.cpp:869:8: warning: variable 'size' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:705:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:706:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:726:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:727:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/resources/material.cpp:430:7: warning: variable 'using_world' set but not used [-Wunused-but-set-variable]
servers/visual/shader_language.cpp:2026:7: warning: variable 'all_const' set but not used [-Wunused-but-set-variable]
servers/visual/visual_server_scene.cpp:1383:28: warning: variable 'z_max_cam' set but not used [-Wunused-but-set-variable]
```
Also fixes two [-Wunused-value] warnings:
```
scene/gui/text_edit.cpp:4405:20: warning: statement has no effect [-Wunused-value]
servers/visual/visual_server_scene.cpp:905:48: warning: value computed is not used [-Wunused-value]
```
Some of those are bugs and need further work, they are identified with
`// FIXME` comments.
2018-09-27 16:25:24 +02:00
Rémi Verschelde
cda5b0bfe1
Fix warnings about unused variables [-Wunused-variable]
...
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_scene_gles2.cpp:1139:15: warning: unused variable 'offset' [-Wunused-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:1205:39: warning: unused variable 'multi_mesh' [-Wunused-variable]
drivers/gles2/rasterizer_storage_gles2.cpp:359:7: warning: unused variable 'srgb' [-Wunused-variable]
drivers/gles2/shader_gles2.cpp:1016:45: warning: unused variable 'texture_hints' [-Wunused-variable]
editor/animation_track_editor.cpp:776:9: warning: unused variable 'keys_to' [-Wunused-variable]
editor/editor_inspector.cpp:273:7: warning: unused variable 'vs_height' [-Wunused-variable]
editor/editor_themes.cpp:202:10: warning: unused variable 'begin_time' [-Wunused-variable]
editor/editor_themes.cpp:239:10: warning: unused variable 'end_time' [-Wunused-variable]
editor/plugins/animation_blend_tree_editor_plugin.cpp:726:17: warning: unused variable 'an' [-Wunused-variable]
editor/plugins/script_text_editor.cpp:1278:8: warning: unused variable 'fold_state' [-Wunused-variable]
main/main.cpp:132:13: warning: 'use_vsync' defined but not used [-Wunused-variable]
modules/cvtt/image_compress_cvtt.cpp:231:8: warning: unused variable 'y_end' [-Wunused-variable]
modules/cvtt/image_compress_cvtt.cpp:311:6: warning: unused variable 'shift' [-Wunused-variable]
modules/gdscript/gdscript_editor.cpp:58:7: warning: unused variable 'th' [-Wunused-variable]
modules/gridmap/grid_map.cpp:1084:6: warning: unused variable 'ofs' [-Wunused-variable]
modules/theora/video_stream_theora.cpp:442:9: warning: unused variable 'tr' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2606:6: warning: unused variable 'count' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2829:6: warning: unused variable 'seq_count' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2844:24: warning: unused variable 'vnode_function' [-Wunused-variable]
modules/websocket/lws_peer.cpp:122:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:135:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:63:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:91:12: warning: unused variable 'peer_data' [-Wunused-variable]
platform/android/export/export.cpp:763:16: warning: unused variable 'node_size' [-Wunused-variable]
scene/gui/rich_text_label.cpp:850:10: warning: unused variable 'x_ofs' [-Wunused-variable]
scene/gui/text_edit.cpp:653:8: warning: unused variable 'tab_w' [-Wunused-variable]
scene/resources/bit_mask.cpp:186:6: warning: unused variable 'i' [-Wunused-variable]
scene/resources/mesh.cpp:549:20: warning: '_array_name' defined but not used [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:107:10: warning: unused variable 'v2' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:108:10: warning: unused variable 'v3' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:109:10: warning: unused variable 'v4' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:110:10: warning: unused variable 'v5' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:111:10: warning: unused variable 'v0n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:112:10: warning: unused variable 'v1n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:113:10: warning: unused variable 'v2n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:114:10: warning: unused variable 'v3n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:115:10: warning: unused variable 'v4n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:116:10: warning: unused variable 'v5n' [-Wunused-variable]
servers/visual/default_mouse_cursor.xpm:2:21: warning: 'default_mouse_cursor_xpm' defined but not used [-Wunused-variable]
```
2018-09-27 16:25:24 +02:00
Rémi Verschelde
e5bbcb8bcf
Fix warnings for comparison between signed and unsigned integers [-Wsign-compare]
...
Also turn off -Wsign-compare warnings in the future, we do not consider them important.
Fixes the following GCC 5 warnings:
```
core/node_path.cpp:279:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:169:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:314:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/shader_gles2.cpp:985:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles3/rasterizer_storage_gles3.cpp:1075:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/pulseaudio/audio_driver_pulseaudio.cpp:343:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_plugin.cpp:525:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_properties_array_dict.cpp:747:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:2078:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:4096:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/sprite_editor_plugin.cpp💯 20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:122:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:134:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:339:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/etc/image_etc.cpp:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:242:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:258:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:200:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:222:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:246:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1085:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1489:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1623:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:206:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:356:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:406:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:493:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/audio_stream_player_3d.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:565:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:571:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_rb_resampler.cpp:156:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
The following warnings were not fixed, as they implied casting for no gain:
```
core/io/packet_peer.cpp:228:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/io/resource_format_binary.cpp:109:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/rasterizer_scene_gles2.cpp:144:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/unix/file_access_unix.cpp:249:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:889:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1020:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1154:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:2255:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/bit_mask.cpp:336:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:141:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:150:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
2018-09-27 16:25:23 +02:00
Rémi Verschelde
cb5a62903f
Merge pull request #22474 from groud/fix_drag_drop_file_list
...
Fixes drag & drop in the file list
2018-09-27 14:12:43 +02:00
groud
4f998faa2d
Fixes drag & drop in the file list
2018-09-27 13:54:09 +02:00
Rémi Verschelde
d8b30d42f5
Fix warnings for operator precedence disambiguation [-Wparentheses]
...
Fixes the following GCC 5 warnings:
```
core/io/resource_format_binary.cpp:1721:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
core/typedefs.h:108:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:2202:58: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:5002:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
main/input_default.cpp:346:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:348:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:579:57: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
modules/gridmap/grid_map_editor_plugin.cpp:613:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
modules/theora/video_stream_theora.cpp:335:34: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/theora/video_stream_theora.cpp:336:35: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/visual_script/visual_script_property_selector.cpp:215:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:424:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:512:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/tree.cpp:1419:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
```
2018-09-27 10:29:48 +02:00
Rémi Verschelde
2b084352b9
Fix warnings on non-static data member initializers (C++11 feature)
...
We're not formally using C++11 yet so those trigger compilation warnings
(at least with GCC 5):
./main/input_default.h:122:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
CursorShape default_shape = CURSOR_ARROW;
^
Note: We may allow those eventually (especially for non-int static const),
but most of current occurrences were inconsistent with all other classes.
See also http://www.stroustrup.com/C++11FAQ.html#member-init
2018-09-27 10:29:48 +02:00
Rémi Verschelde
ea63c9a870
Inspector: Enable wrap for multiline text widget
...
Fixes #22458 .
2018-09-27 09:09:47 +02:00
Hugo Locurcio
c4770a5b5d
Tweak some editor texts' capitalization, use "Go to" instead of "Goto"
...
This also fixes a typo in the `debugger/debug_with_external_editor`
shortcut.
2018-09-25 22:51:13 +02:00
Rémi Verschelde
23b2ca75c2
Merge pull request #22423 from Chaosus/fix_tooltip_border
...
Fix incorrect tooltip border
2018-09-25 15:16:57 +02:00
Chaosus
7a3aaa69db
Fix incorrect tooltip border
2018-09-25 14:18:25 +03:00
Rémi Verschelde
298a6ad73c
Merge pull request #22290 from groud/add_2dimensional_scale
...
Add both X and Y scale in the scale editor
2018-09-25 10:25:13 +02:00
groud
bad5ec61b1
Add both X and Y scale in the scale editor
2018-09-25 09:50:25 +02:00
DualMatrix
0e37829031
Added step support when exporting integers.
...
Added step support when exporting integers.
This wasn't possible before and was kinda unclear see #21441
2018-09-24 18:26:39 +02:00
Rémi Verschelde
c432ce4ee1
Merge pull request #22400 from Chaosus/viewport_color
...
Added viewport border color setting for canvas item editor
2018-09-24 15:48:55 +02:00
Rémi Verschelde
1f18a85ea1
Merge pull request #22398 from groud/fix_import_tab_update
...
Fix import tab not updating when selecting in the tree view
2018-09-24 15:26:23 +02:00
Chaosus
943d0a90f5
Added viewport border color setting for canvas item editor
2018-09-24 16:16:40 +03:00
groud
ed516a11ca
Fix import tab not updating when selecting in the tree view
2018-09-24 14:26:26 +02:00
groud
43beed489a
Allow the tree view of FileSystem to take more space
2018-09-24 12:01:20 +02:00
DualMatrix
44e996fdc5
Made children of Containers not selectable.
...
Made children of Containers not selectable.
2018-09-23 22:26:05 +02:00
Michael Alexsander Silva Dias
b8f946f118
Make Rect2 EditorProperty obey the horizontal setting
2018-09-23 16:00:48 -03:00
Rémi Verschelde
399910ddd8
Merge pull request #22357 from DualMatrix/no_built_in
...
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 18:37:45 +02:00
DualMatrix
6dc0120c60
Prevent built-in-scripts from being made from FileSystem dock
...
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 17:38:59 +02:00
Rémi Verschelde
7e3ce79ea9
Merge pull request #22346 from Paulb23/text_file_icon
...
Icon for TextFiles.
2018-09-23 17:10:57 +02:00
DualMatrix
f483460e38
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
...
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
2018-09-23 14:58:15 +02:00
Evandro Bitencourt
4065b8dd28
Fix issue #22320 .
...
When a resource item doesn´t define a icon it should not use the theme default icon, the default theme icon is an error msg.
2018-09-22 18:53:34 -03:00
Max Hilbrunner
e863bbb3b0
Merge pull request #22339 from AndreaCatania/fixes2
...
Toward 3.1 - physics fixes
2018-09-22 16:47:57 +02:00
Paulb23
0dd1cb0dcc
Icon for TextFiles
2018-09-22 15:17:17 +01:00
Andrea Catania
a3bdcb901f
Correctly freed PhysicalBoneEditor
2018-09-22 11:27:30 +02:00
Rémi Verschelde
29b093f9e8
Merge pull request #22340 from akien-mga/sort_text_editor_themes
...
Settings: Sort text editor themes alphabetically
2018-09-22 10:52:06 +02:00
Andrea Catania
855a440071
Removed node from physical_bone_plugin
2018-09-22 10:14:52 +02:00
Rémi Verschelde
f0051394da
Settings: Sort text editor themes alphabetically
2018-09-22 10:02:20 +02:00
Michael Alexsander Silva Dias
622bae393b
Make EditorFileDialog be able to pick a folder when entering it
2018-09-21 19:42:06 -03:00
groud
f19dfc1aa8
Remove auto disabling of the split-view in the FileSystem dock
2018-09-21 12:19:50 +02:00
Andrii Doroshenko (Xrayez)
e343610b0e
Fix blend tree editor updating invalid blend tree node graph
...
Editing unreferenced blend tree caused SIGSEGV when updating node graph.
Fixes #22037
2018-09-21 12:48:26 +03:00
Rémi Verschelde
534b7ef292
Merge pull request #22174 from cyclopsian/obj-paths
...
Check for absolute paths in OBJ loader
2018-09-21 10:32:18 +02:00
Rémi Verschelde
f22f83f2df
Merge pull request #22308 from groud/fix_filesystem_setting
...
Fixes filesystem display mode not updating at startup
2018-09-21 10:28:05 +02:00
groud
77a6a467b3
Fixes filesystem display mode not updating at startup
2018-09-21 09:42:41 +02:00
Michael Alexsander Silva Dias
ab2eac8e3f
Make filesystem dock's path bar start with said path written
2018-09-21 04:05:50 -03:00
Juan Linietsky
d9e88bccbe
Merge pull request #22295 from groud/fix_2D_IK
...
Fixes 2D Inverse Kinematic
2018-09-20 17:55:37 -03:00
groud
de01b7941d
Fixes 2D IK
2018-09-20 22:33:49 +02:00
Rémi Verschelde
76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
...
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde
f93a69cb6e
Merge pull request #22287 from Chaosus/fix_warning
...
Fix "This control can't grab focus." warning spam
2018-09-20 21:41:53 +02:00
Rémi Verschelde
0b705d5583
Merge pull request #22068 from akien-mga/default-editor-layout
...
EditorNode: New default dock layout
2018-09-20 19:57:30 +02:00
Rémi Verschelde
46d8a28314
Merge pull request #22094 from elasota/fix-visual-shader
...
Fix VisualShader code overwrites and save failures
2018-09-20 18:46:20 +02:00
Rémi Verschelde
14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
...
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Rémi Verschelde
8e0dfe5501
EditorNode: New default dock layout
...
As discussed with @reduz, now that the FileSystem dock is getting
files display in tree view (#21426 ), we can change the docks layout
again to give more height to the new inspector.
The new layout is thus:
- Top left: Scene and Import docks
- Bottom left: FileSystem
- Right (full height): Inspector and Node docks
The 2nd left (LEFT_R) and 1st right (RIGHT_L) VSplitContainers (the
ones in use) also get an additional 40px of width compared to their
previous size (which was the minimum size).
Fixes #21480 .
2018-09-20 18:35:38 +02:00
Rémi Verschelde
c884b55ff0
EditorNode: Reorder and cleanup initial dock setup
2018-09-20 18:35:38 +02:00
Rémi Verschelde
69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
...
Add files to tree view
2018-09-20 18:32:13 +02:00
Rémi Verschelde
9136f1287e
Merge pull request #22282 from ibrahn/spatial_editor_origin_init
...
fix branch on uninit in spatial_editor_plugin
2018-09-20 15:50:41 +02:00
Rémi Verschelde
da48a599a4
Merge pull request #22131 from DualMatrix/unique_res
...
Make inspector select the correct resource after making them unique
2018-09-20 15:35:23 +02:00
Rémi Verschelde
9f0ea24920
Merge pull request #22163 from DualMatrix/create_extra
...
Automatically add extra args to function when creating it from create signal window
2018-09-20 15:12:12 +02:00
Rémi Verschelde
48ace81d7b
Merge pull request #22171 from DualMatrix/empty_boi_WTF_WHY
...
Fixed empty item slipping into Search Classes dialog
2018-09-20 15:03:13 +02:00
Rémi Verschelde
c19dc39630
Merge pull request #22201 from DualMatrix/error_spam_2_electric_boogaloo
...
Fixed error spam in remote debugger
2018-09-20 14:45:21 +02:00
Rémi Verschelde
7235f48690
Merge pull request #22244 from DualMatrix/debuging_the_debugger
...
Fixed Objects no longer showing ID in debugger.
2018-09-20 14:42:36 +02:00
Chaosus
e4c8efd051
Fix "This control can't grab focus." warning spam
2018-09-20 15:29:38 +03:00
Ibrahn Sahir
ce15cf8ebc
fix branch on uninit in spatial_editor_plugin
...
Moved the initialisation of origin_enabled up a bit, to be inited before
it's accessed in _init_grid. A step towards cleaner valgrind output and
removes an opportunity for a random occurance of the origin/grid
z-fighting issue.
Also removed unused variable last_grid_snap to avoid later confusion.
2018-09-20 13:06:13 +01:00
Rémi Verschelde
0a6626a5d1
Merge pull request #22268 from DualMatrix/highlight_no_save
...
Fixed syntax highlighting setting not being saved
2018-09-20 13:51:33 +02:00
Rémi Verschelde
d357b45fda
Merge pull request #22270 from DualMatrix/locks_toggle_visible
...
Added ability to hide edit locks and groups in editor view
2018-09-20 13:33:29 +02:00
DualMatrix
494354c835
Added ability to hide edit lock and groups in editor view
...
Added ability to hide edit lock and groups in editor view
2018-09-20 11:35:26 +02:00
DualMatrix
4efcf9c943
Fixed syntax highlighting setting not being saved
...
Fixed syntax highlighting setting not being saved
2018-09-20 11:31:53 +02:00
JFonS
a100b320c2
Change viewport type after using create root menu
...
Change viewport type (2D/3D) according to the type of node just created
from the "Create Root Node" menu.
2018-09-20 10:44:58 +02:00
Rémi Verschelde
4fca3fe180
Merge pull request #22267 from YeldhamDev/dict_array_type_fix
...
Properly setup EditorProperties in arrays and dictionaries
2018-09-20 08:54:44 +02:00
Rémi Verschelde
89a38b1b22
Merge pull request #22269 from willnationsdev/fix-draw-call-editor-setting-saves
...
Fix EditorSettings saving on draw calls
2018-09-20 08:53:22 +02:00
Rémi Verschelde
1800439997
Merge pull request #22234 from DualMatrix/favorites_not_saved
...
Fixed favorite nodes list not being saved
2018-09-20 08:51:20 +02:00
willnationsdev
fa271e4870
Fix EditorSettings saving on draw calls
2018-09-19 21:37:55 -05:00
Michael Alexsander Silva Dias
c0c567add7
Properly setup EditorProperties in arrays and dictionaries
2018-09-19 20:23:09 -03:00
groud
c3e66536cc
Fixes polygon editor blocking other editor actions (move, scale...)
2018-09-19 14:26:04 +02:00
DualMatrix
aa32a9f22d
Fixed Objects no longer showing ID in debugger.
...
Fixed Objects no longer showing ID in debugger.
2018-09-19 12:06:34 +02:00
DualMatrix
54286e1711
Fixed error spam in remote debugger
...
Fixed error spam in remote debugger.
2018-09-19 11:32:11 +02:00
groud
e1c92e32e6
Fixes selection of toplevel CanvasItems in the editor
2018-09-19 11:05:24 +02:00
Chaosus
a3fdaa4f21
Disconnect previous visual shader node connection before new connect
2018-09-19 10:30:45 +03:00
Rémi Verschelde
d3e24581b9
Merge pull request #22150 from Calinou/editor-theme-improved-checkboxes
...
Improve checkboxes in the default editor theme
2018-09-19 09:23:44 +02:00
Rémi Verschelde
58c8c05012
Merge pull request #22096 from elasota/fix-visual-shader-colors
...
Fix visual shader color constants not retaining edits
2018-09-19 08:40:49 +02:00
DualMatrix
edd93b7608
Fixed favorite nodes list not being saved
...
Fixed favorite nodes list not being saved
2018-09-19 00:30:01 +02:00
groud
5172642c32
Fixes drawing of the 2D plugins on the 3D view
2018-09-18 20:00:07 +02:00
Poommetee Ketson
e74876028e
Fix find-in-files and go-to-line dialog (partially)
2018-09-18 22:07:13 +07:00
groud
76b2ae8dc6
Fixes favorites not updating and rename favorite_dirs to favorites
2018-09-18 14:02:59 +02:00
DualMatrix
e10ca7b824
Fixed clicking on Find/Replace doesn't set the focus on the text field
...
Fixed clicking on Find/Replace doesn't set the focus on the text field
2018-09-18 00:10:23 +02:00
DualMatrix
0d09f80e43
Added warning when disabling editable_instance
...
Added warning when disabling editable_instance to prevent data loss.
2018-09-17 15:18:03 +02:00
DualMatrix
c1674f1068
Fixed empty item slipping into Search Classes dialog
...
Fixed empty item slipping into Search Classes dialog.
Phew tracking this down was weird.
2018-09-17 12:41:47 +02:00
cyclopsian
45ba58c123
Check for absolute paths in OBJ loader
2018-09-16 22:23:40 -04:00
DualMatrix
1775c796a4
Automatically add extra args to func when creating it from create signal window
...
Automatically add extra arguments to function when creating it from create signal window. They will be called extra_arg_1, extra_arg_2,...
2018-09-16 21:01:17 +02:00
Hugo Locurcio
7533778760
Improve checkboxes in the default editor theme
2018-09-16 15:12:28 +02:00
Michael Alexsander Silva Dias
75d5d81b8a
Remove unnecessary "OK"s text settings
2018-09-15 21:40:50 -03:00
DualMatrix
2996c85c46
Make inspector select the correct resource after making them unique
...
Make inspector select the correct resource after making them unique
2018-09-16 01:50:20 +02:00
Rémi Verschelde
787be50f17
Merge pull request #22117 from Paulb23/colour_theme_crash_issue_21715
...
Fix crash on colour theme change, issue 21715
2018-09-16 01:41:13 +02:00
Rémi Verschelde
437af1450e
Merge pull request #22111 from Chaosus/unification
...
Few unification fixes for canvas_item and spatial editor toolbars
2018-09-16 01:26:36 +02:00
Rémi Verschelde
7f5e653a22
Merge pull request #22066 from Faless/bundle_certs
...
Bundle SSL certs with the templates
2018-09-16 01:22:47 +02:00
Paulb23
df2af46a41
Fix crash on colour theme change, issue 21715
2018-09-15 19:22:20 +01:00
Chaosus
2fe0365661
Few unifications between canvas_item and spatial editors
2018-09-15 18:44:26 +03:00
Rémi Verschelde
2cf024ed91
Merge pull request #22069 from scayze/fix_reload_scripts
...
Fix scripts not reloading when edited externally
2018-09-15 15:10:56 +02:00
Fabio Alessandrelli
0e56377e96
Allow system certs file to be used by Editor.
...
Note, it will only used by the Editor, not when running the game.
This allows package maintainer to compile Godot to use system installed
certificates when accessing the AssetLib.
2018-09-15 14:45:54 +02:00
Fabio Alessandrelli
d2b38aabec
Bundle SSL certs with the templates.
...
If this is undesired it can be avoided by specifying builtin_certs=no .
Bundled SSL certs will be used unless you specify an override in:
Project Settings -> SSL -> Certificates .
2018-09-15 10:54:00 +02:00
elasota
37595e183d
Fix visual shader color constants not retaining edits
2018-09-15 02:47:38 -04:00
elasota
f5c7d64492
Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension.
2018-09-14 22:30:48 -04:00
Rémi Verschelde
d3527834f3
Fix video toggle UX issue
...
It was still functional but showing duplicate entries and thus
"GLES2" for both GLES2 and GLES3 choices.
Fixes #22089 .
2018-09-15 01:49:59 +02:00
Rémi Verschelde
d934cbcbc9
Set default CanvasItemEditor zoom shortcut to KEY_EQUAL
...
At least on en_US QWERTY (and various QWERTY-derived variants)
and fr_FR AZERTY, "+" is an indirect key obtained by pressing
"Shift" + "=", so using "=" in the binding makes it easier to
access.
It doesn't work this way on other layouts like de_DE QWERTZ though,
but since 'script_editor/zoom_in' also uses KEY_EQUAL, setting
the same for consistency.
Fixes #22067 .
2018-09-14 21:42:47 +02:00
Rémi Verschelde
1eed12f6d8
Merge pull request #22074 from willnationsdev/plugin-description
...
Add EditorPlugin descriptions to their tooltip
2018-09-14 20:44:52 +02:00
Will Nations
d26de79f4e
Add EditorPlugin descriptions to their tooltip
2018-09-14 12:21:09 -05:00
Rémi Verschelde
8f33542ac3
ProjectSettings: Fix InputMap editor on HiDPI
...
Fixes #20898 .
2018-09-14 18:11:55 +02:00
Rémi Verschelde
67477f1a06
Merge pull request #22051 from fire/vs_expression_20885
...
Update visual scripting to use new expression class #20885
2018-09-14 18:03:48 +02:00
Manuel Strey
ebd518c9c9
fix scripts not reloading when edited externally
2018-09-14 17:24:12 +02:00
willnationsdev
5436abefe4
Refactor editor icon retrieval
2018-09-14 09:27:56 -05:00
groud
59536b98b9
Bugfixes on the filesystem dock
2018-09-14 13:59:19 +02:00
groud
028813fb9c
Add a display mode toggle button
2018-09-14 10:22:13 +02:00
groud
4ef4df54d0
Store tree collapse when searching
2018-09-14 10:22:13 +02:00
groud
a5fba2aa79
Allow dragging files into the favorites section
2018-09-14 10:22:13 +02:00
groud
4731745deb
Adds a filter in the tree view
2018-09-14 10:22:13 +02:00
groud
d7b638ed32
Replace the -show in filesystem- button by a RMB entry
2018-09-14 10:22:13 +02:00
groud
bc5dfdde78
Replace the favorite button by a RMB menu entry
2018-09-14 10:22:13 +02:00
groud
796418aa11
Merge the disable_split and show_files_in_tree settings
2018-09-14 10:22:07 +02:00
groud
b2633a97b9
Add thumnails to the tree view
2018-09-14 10:14:33 +02:00
groud
5f3bbbdc81
Add support for files in the tree view
2018-09-14 10:14:33 +02:00
K. S. Ernest (iFire) Lee
e8f993677d
Update visual scripting to use new expression class #20885
2018-09-13 12:53:14 -07:00
Rémi Verschelde
06c8b5a4ff
Merge pull request #22027 from akien-mga/plain-text-gles-toggle
...
Use plain text instead of icons for video driver toggle
2018-09-13 18:13:25 +02:00
Rémi Verschelde
bcc50de2d1
Merge pull request #21540 from YeldhamDev/image_reimp_error_fix
...
Fix error when reimporting an Image resource
2018-09-13 14:09:39 +02:00
Rémi Verschelde
399f667911
Use plain text instead of icons for video driver toggle
...
Fixes #21660 , supersedes and closes #21724 .
2018-09-13 12:15:17 +02:00
Rémi Verschelde
ae8f984cf3
Merge pull request #21730 from reisraff/fixing_key_shortcut
...
#21500 Fixing key shortcut
2018-09-13 12:09:17 +02:00
Rémi Verschelde
6c20c3a534
Merge pull request #21819 from DualMatrix/built-in-script
...
Made editor automatically open the scene of built in scripts
2018-09-13 11:27:22 +02:00
Rémi Verschelde
4ae78987b7
Merge pull request #22017 from YeldhamDev/errors_tab_changes
...
Add expand/collapse all buttons for the "Errors" tab
2018-09-13 11:21:31 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
Michael Alexsander Silva Dias
3a9df46b90
Add expand/collapse all buttons for the "Errors" tab
2018-09-12 23:53:10 -03:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde
f438d311ae
Merge pull request #22002 from akien-mga/doc-unify-editor-rst
...
Doc: Use same headers and order in-editor and online
2018-09-13 02:07:22 +02:00
Fabio Alessandrelli
cdc5264a3e
Merge pull request #21692 from Faless/sockets_rebase
...
New NetSocket interface with common BSD/Win implementation
2018-09-12 18:25:28 +02:00
Rémi Verschelde
ba64ea2283
Doc: Use same headers and order in-editor and online
2018-09-12 17:12:23 +02:00
Rémi Verschelde
68cc2cf3bf
Merge pull request #21997 from akien-mga/fix-script-name
...
Fix default script name in ScriptCreateDialog
2018-09-12 16:42:54 +02:00
Fabio Alessandrelli
30327872e0
Unify StreamPeerTCP/TCP_Server with NetSocket API
2018-09-12 15:56:20 +02:00
Rémi Verschelde
c4311b62c4
Merge pull request #21884 from RyanStein/feature-error-tree
...
Resurrect integrated error display for the Debugger.
2018-09-12 14:53:32 +02:00
Rémi Verschelde
f98d946cd9
Merge pull request #21934 from groud/add_scale_mode
...
Add a scale mode to the 2D editor
2018-09-12 14:24:33 +02:00
Rémi Verschelde
cc5ab22204
Merge pull request #21935 from goodyttoor/gltf_cubic
...
Fix cubic spline interpolation in glTF importer
2018-09-12 14:12:32 +02:00
Rémi Verschelde
fb77cdf2f2
Fix default script name in ScriptCreateDialog
...
It would default either to '.gd' when created from the script editor,
or to 'res:///NodeName.gd' (three '/') when created from the scene tree dock.
2018-09-12 12:29:50 +02:00
Rémi Verschelde
c7fc3dcab3
Merge pull request #21878 from RyanStein/bugfix-14400
...
Make `_sort_list_on_update` true before opening files, fixes 14400
2018-09-12 11:18:10 +02:00
Rémi Verschelde
1db4b307f9
Merge pull request #21984 from groud/fix_2D_selection
...
Fix 2D selection
2018-09-12 11:13:36 +02:00
Rémi Verschelde
ecefd07bcb
Merge pull request #21985 from Calinou/fix-osx-open-editor-path
...
Fix project and editor data paths not being opened correctly on macOS
2018-09-12 10:58:14 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
groud
9dc81e6ca7
Fix 2D selection
2018-09-11 20:58:01 +02:00
Hugo Locurcio
ff9d3e569f
Fix project and editor data paths not being opened correctly on macOS
...
This closes #21904 .
2018-09-11 20:32:08 +02:00
groud
2f316bc608
Add a scale mode to the 2D editor
2018-09-11 17:48:57 +02:00
Rémi Verschelde
ed8b75a3e1
Drop obsolete PropertyEditor and SectionedPropertyEditor code
...
Replaced by EditorInspector.
2018-09-11 16:16:11 +02:00
Rémi Verschelde
45b609f46a
Replace last occurrences of PropertyEditor by EditorInspector
...
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin
Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Rémi Verschelde
4c37ea59be
Merge pull request #21971 from scayze/window_title_update
...
Update window title when switching scenes
2018-09-11 13:03:11 +02:00
Manuel Strey
909885642a
update window title when switching scenes
2018-09-11 12:28:32 +02:00
Rémi Verschelde
0471386a97
Revert "Fix selection of spatial nodes after selecting a non-spatial one."
2018-09-11 11:30:48 +02:00
Hugo Locurcio
621a5457ed
Display camera coordinates in the 3D viewport's information pane
2018-09-11 00:04:09 +02:00
Rémi Verschelde
96014b6391
Merge pull request #21911 from groud/fix_locked_nodes
...
Fixes 2D nodes lock not working
2018-09-10 23:43:25 +02:00
Rémi Verschelde
efeb88b102
Merge pull request #21907 from JFonS/concave_collision_gizmo
...
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
2018-09-10 23:36:07 +02:00
Rémi Verschelde
fe4c893c88
Merge pull request #21871 from DualMatrix/recent_select
...
Fixed favorites and recent nodes selecting wrong node
2018-09-10 22:52:08 +02:00
DualMatrix
6ec28de584
Fixed favorites and recent nodes selecting wrong node
...
Fixed favorites and recent nodes selecting wrong node and fixed a typo.
Fixes #6535
2018-09-10 20:58:29 +02:00
Rémi Verschelde
772b398ad8
Merge pull request #21886 from RyanStein/bugfix-15509
...
Check for double-colon on open recent script.
2018-09-10 19:06:41 +02:00
Rémi Verschelde
ec788e1ac4
Merge pull request #21879 from willnationsdev/script-name-empty
...
Fix ScriptCreateDialog passing script w/ no filename
2018-09-10 18:58:21 +02:00
Rémi Verschelde
fcabf95934
Merge pull request #21835 from DualMatrix/save_branch
...
Prevent overwriting open scenes when saving
2018-09-10 16:00:25 +02:00
Rémi Verschelde
04eb6046c5
Merge pull request #21831 from JFonS/fix_13849
...
Fix selection of spatial nodes after selecting a non-spatial one.
2018-09-10 15:39:31 +02:00
Vivatchai Kaveeta
463ead1eb7
Fix cubic spline interpolation in glTF importer
...
Should solve #21001 #14636
2018-09-10 20:02:39 +07:00
groud
1d83f36a26
Fixes 2D nodes lock not working
2018-09-09 22:17:54 +02:00
JFonS
216ba4cc8b
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
2018-09-09 19:39:34 +02:00
Ryan Stein
13370e3e09
Merge debugger's error and stack trace lists into one tree interface.
2018-09-08 22:36:40 -04:00
Ryan Stein
1cdc04c9c4
Check for double-colon on open recent script.
2018-09-08 22:26:05 -04:00
willnationsdev
69c09ab2fd
Fix ScriptCreateDialog passing script w/ no filename
2018-09-08 15:04:55 -05:00
Ryan Stein
7fdb8f72c0
Make _sort_list_on_update
true before opening new help or script files in the ScriptEditor.
2018-09-08 14:33:54 -04:00
Michael Alexsander Silva Dias
dff7366c86
Fix error when reimporting an Image resource
2018-09-07 16:43:11 -03:00
DualMatrix
c43ffc8917
Prevent overwriting open scenes when saving
...
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-07 15:54:26 +02:00
JFonS
b82f037818
Fix selection of spatial nodes after selecting a non-spatial one.
...
Fixes #13849
2018-09-07 10:49:40 +02:00
DualMatrix
3f672307d7
Made editor automatically open scenes of built in scripts.
...
Made editor automatically open scenes of built in scripts when attempting to open that script.
2018-09-07 00:34:39 +02:00
Rémi Verschelde
8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
...
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde
2f4912ec69
Merge pull request #21767 from volzhs/expand-collapse-all
...
Make expand/collapse all properties menu working
2018-09-05 18:04:44 +02:00
Rémi Verschelde
021159330c
Merge pull request #21766 from volzhs/bitmask-color
...
Make better look for bitmask
2018-09-05 18:03:40 +02:00
volzhs
ce4067e38b
Make expand/collapse all properties menu working
2018-09-05 11:03:10 +09:00
volzhs
192beed068
Make better look for bitmask
2018-09-05 10:49:48 +09:00
Rémi Verschelde
5fe01d4cfc
Move ParticlesMaterial code to its own resource file
...
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.
Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
paul gruenbacher
8c14cd5b69
added get_camera_method to spatial editor plugin viewport
...
amend
added get_camera_method to spatial editor plugin viewport
2018-09-03 14:00:21 -04:00
Rafael Reis
d1d1f4a776
#21500 Fixing key shortcut
2018-09-03 11:39:07 -03:00
JFonS
4a412943d4
Fix selection of instanced scenes in 3D
2018-09-02 22:31:03 +02:00
Guilherme Felipe
4356af2a68
[Texture Import] Fix invert color
2018-09-02 11:35:48 -03:00
Hugo Locurcio
9c5ce5cf58
Fix the project manager window size on hiDPI displays on macOS
...
This closes #21525 .
2018-09-02 11:52:26 +02:00
Rémi Verschelde
737c90963f
Merge pull request #21636 from akien-mga/docdata-variant
...
DocData: Fix return type listed as "var" instead of "Variant"
2018-09-01 23:40:11 +02:00
Rémi Verschelde
ab60283798
Merge pull request #21663 from Calinou/fix-editor-shortcut-defaults
...
Fix some editor shortcuts' default values not being set properly
2018-09-01 20:40:29 +02:00
Hugo Locurcio
af139af69e
Fix some editor shortcuts' default values not being set properly
...
This also changes the uppercase/lowercase/capitalize shortcuts
to Shift+F4, Shift+F5 and Shift+F6 respectively to avoid conflicts
with the new Find Next shortcut.
This closes #21612 .
2018-09-01 16:20:47 +02:00
Ibrahn Sahir
02693b9af6
Removed some unneeded generated headers from the editor directory SCsub.
...
These headers are currently built in (and included from) the core directory.
Removing the editor directory versions to avoid confusion.
2018-09-01 13:00:04 +01:00
Michael Alexsander Silva Dias
8c74257d68
Make "Search Classes" dialog have relationship lines if the setting is enabled
2018-08-31 21:48:56 -03:00
Rémi Verschelde
f92b87e5f8
DocData: Fix return type listed as "var" instead of "Variant"
2018-08-31 22:41:14 +02:00
Kelly Thomas
e00baaf6ce
emit more detailed type information for signal parameters
2018-08-31 22:34:22 +02:00
Rémi Verschelde
51dfdf549e
ExportDialog: Validate path before allowing export
...
Otherwise one could quite easily end up with the exported game
being hidden files named ".x86_64" and ".pck" for example.
Also improved the default filename logic a bit to also include
extension, and never fallback to an empty string.
Also fixed being able to click "Export project" without selecting
a preset.
2018-08-31 11:19:13 +02:00
Will Nations
dee0ee749d
Fix Script Classes not instancing with custom name.
2018-08-30 16:01:39 -05:00
JFonS
07d9b7af7a
Fix regression #21262 in Path Gizmo
...
closes #21262
2018-08-30 14:24:24 +02:00
Rémi Verschelde
9eb4d4ab2d
Add missing copyright headers
2018-08-29 22:41:17 +02:00
Rémi Verschelde
6003cf70b1
Merge pull request #21578 from volzhs/font-hindi
...
Add Hindi font for editor
2018-08-29 22:41:09 +02:00
volzhs
1dc6d47df9
Add Hindi font for editor
2018-08-30 05:11:09 +09:00
Juan Linietsky
cf834a22dc
Ported CPU particles to 2D
2018-08-29 16:48:55 -03:00
Rémi Verschelde
39cbb992c3
Merge pull request #21516 from elasota/fix-bptc
...
Fix BPTC regressions
2018-08-29 16:35:34 +02:00
Marcelo Fernandez
20bea1e231
Unexpose TileMap set_celld
2018-08-29 09:00:00 -03:00
Rémi Verschelde
6c8aa939e4
Merge pull request #21539 from yurchor/master
...
Fix minor typos and word puzzles
2018-08-29 12:21:33 +02:00
Yuri Chornoivan
06e73522dc
Fix vformat(), minor typos and word puzzles
2018-08-29 11:50:39 +03:00
Bernhard M. Wiedemann
83b856c046
BuildSystem: Sort input file lists
...
so that godot package builds reproducibly
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461
See https://reproducible-builds.org/ for why this is good.
Sort font input file list, so that builtin_fonts.gen.h
is created in a reproducible way
Sort list of platforms, so that editor/register_exporters.gen.cpp
is created in a reproducible way
Sort list of source files, so that .a files and resulting godot binaries
are created in a reproducible way
2018-08-29 10:24:07 +02:00
Bernhard M. Wiedemann
f312582326
BuildSystem: Fix font list
...
We want to add the individual strings to the list
and not add a list object to the list.
Without this patch, sorting failed because "str < list"
is not a valid operation in python.
2018-08-29 10:24:07 +02:00
Rémi Verschelde
b6c170165c
Merge pull request #21485 from JFonS/fix_selection
...
Saner selection code for instanced scenes in 3D, should close #21447
2018-08-29 10:08:41 +02:00
Rémi Verschelde
7e79fb80db
Fix z-fighting on origin grid lines in spatial editor
...
Fixes #21264 .
2018-08-29 09:27:50 +02:00
Will Nations
ca14766e3a
Fix making _editor_icon meta during CLEAR_SCRIPT
2018-08-28 15:32:35 -05:00
Tommi Komulainen
aded18104b
Scale the Item List Editor window size with the editor scale
...
Makes the dialog bigger and more usable on HiDPI screens.
Fixes #21520
2018-08-28 19:17:29 +02:00
Marcin Zawiejski
eaa0dbc7d8
Fix for p_width - 1=-1 out of size
...
Fixes a zero-size image creation by moving the profiler plot update call
to the Clear button handler so it is not called during initialization.
2018-08-28 11:49:12 +02:00
Rémi Verschelde
ac38b7e97b
Merge pull request #21496 from tko/macos-complete
...
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
2018-08-28 07:40:55 +02:00
Rémi Verschelde
cda5a56808
Merge pull request #21495 from tko/macos-replace
...
[macOS] fix conflicting keybindings for (Find and) Replace...
2018-08-28 07:38:30 +02:00
elasota
084cbdefa2
Fix BPTC and fix importing HDR images with LDR compression
2018-08-27 23:05:04 -04:00
K. S. Ernest (iFire) Lee
fa62037ff6
In the GLTF importer normalize Quaternions after every operation and when reading from the format.
2018-08-27 14:59:28 -07:00
Tommi Komulainen
c2f0b4c9c6
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
...
The default shortcut for Spotlight search is Command+Space so try not to
use it. Instead use Ctrl+Space similar to Xcode.
2018-08-27 20:39:43 +02:00
Tommi Komulainen
464756ec0f
[macOS] fix conflicting keybindings for (Find and) Replace...
...
```
Play Scene Command+R (no change)
Replace... Command+R => Option+Command+F
Find Function... Option+Command+F => Ctrl+Command+J
```
On macOS Option+Command+F is commonly used for Find and Replace so use
it instead to avoid conflicting with "Play Scene"
And as Option+Command+F is currently used by "Find Function..." rebind
the latter to Control+Command+J which is the Xcode shortcut for
"Jump to Definition"
Fixes #19817
2018-08-27 20:28:24 +02:00
Juan Linietsky
0565adb20f
Removed fallback system and merged bptc into s3tc
2018-08-27 13:47:35 -03:00
Rémi Verschelde
9df5ddae29
Merge pull request #21456 from MarianoGnu/tileset_editor
...
TileSet editor Fixes
2018-08-27 17:49:02 +02:00
Rémi Verschelde
72996df656
Revert "Try closing gracefully before terminating process"
2018-08-27 17:32:43 +02:00
Omicron
71397e0e17
Typo in text string
...
reported by Yuri Chornoivan on weblate
2018-08-27 16:12:48 +02:00
JFonS
b58bb95c86
Saner selection code for instanced scenes in 3D, should close #21447
...
Selecting instanced scenes still doesn't work properly because gizmos are not being added to instanced nodes.
I will probably work on fixing all the shenanigans around selection, but that will take some time.
This part of the code should work better for the moment.
2018-08-27 16:02:49 +02:00
Rémi Verschelde
fc1d464f1f
Merge pull request #21381 from YeldhamDev/members_help_overview_fix
...
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-27 09:43:00 +02:00
Rémi Verschelde
0f4ba4481a
Merge pull request #21432 from JFonS/fix_material_convert
...
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-27 08:55:41 +02:00
Rémi Verschelde
a543c68959
Merge pull request #21466 from elasota/fix-layered-texture-import
...
Fix crash when importing layered textures
2018-08-27 08:00:15 +02:00
Michael Alexsander Silva Dias
df4f3aecd8
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-26 23:55:45 -03:00
elasota
02d3d4c2ce
Fix crash when importing layered textures
2018-08-26 20:21:27 -04:00
Mariano Javier Suligoy
c64ab97063
TileSet editor Fixes
...
Properly draw navigation and oclusion polygons for SINGLE type tiles. Fixes #21398
Add some checks for TileID validation before accessing to it's properties. Fixes #21397
Fix 'Keep inside region' snap option for tiles with SINGLE_TILE mode. Fixes #21402
Restore hability to asign/unasign an script to a tileset. Fixes #20886
2018-08-26 17:10:01 -03:00
JFonS
ee06cfe6e5
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-26 12:25:41 +02:00
Andrea Catania
2e722caead
Fixed physics bone crash: #20397
2018-08-26 11:55:58 +02:00
Michael Alexsander Silva Dias
7d13f6ad30
Small improvements to the Spatial Editor's multiple viewport mode
2018-08-25 17:43:27 -03:00
Mariano Suligoy
1f4a891a9c
Texture Region: Cache auto-slice information into the texture. Fixes #11503
2018-08-25 09:02:05 -03:00
Rémi Verschelde
0b67d1665d
Style: Fix previous commits from @reduz
2018-08-24 16:50:29 +02:00
Rémi Verschelde
f733c6470d
Merge pull request #21110 from natrim/particles2d_editor
...
Particles2D: fix editing Visibility Rect from new inspector
2018-08-24 15:31:31 +02:00
Rémi Verschelde
cd945e28de
Merge pull request #21272 from paulloz/tilemap-tools-enhancements
...
tilemap_editor: change move and duplicate tools
2018-08-24 15:18:06 +02:00
Rémi Verschelde
571dab7d1e
Merge pull request #21356 from akien-mga/drop-shadergraph
...
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 15:02:26 +02:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Rémi Verschelde
d442f3d0aa
Merge pull request #21351 from akien-mga/print_verbose
...
Add print_verbose to print to stdout only in verbose mode
2018-08-24 14:58:36 +02:00
Rémi Verschelde
548c262399
Merge pull request #21359 from dragmz/fix-plot-clear-when-stopped
...
Fix clear button not clearing plot when stopped
2018-08-24 13:50:22 +02:00
Juan Linietsky
0161e95f01
some checks for node removed, may fix #20863
2018-08-24 08:29:40 -03:00
Marcin Zawiejski
92a9a8969d
Fix clear button not clearing plot when stopped
...
Fixes the profiler Clear button that did not clear the profiler plot if the profiler was stopped.
2018-08-24 12:41:25 +02:00
Paul Joannon
3f1b977263
tilemap_editor: change move and duplicate tools
...
* Move now behaves like a Cut
* Duplicate now behaves like a Copy
* You can continue Pasting after Cut or Copy
2018-08-24 11:58:01 +02:00
Rémi Verschelde
e22f0515c9
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 11:49:08 +02:00
Rémi Verschelde
de59fe04e7
Add print_verbose to print to stdout only in verbose mode
...
Equivalent of the cumbersome:
if (OS::get_singleton()->is_stdout_verbose())
print_line(msg);
2018-08-24 09:23:20 +02:00
Juan Linietsky
bffaa835fc
-Fix blend tree rename, closes #20210
...
-Fixed activity lines in blend tree
2018-08-23 16:44:10 -03:00
Rémi Verschelde
2c5b409407
Merge pull request #21316 from AlexHolly/fix-update-2d-view-scene-tree-selection
...
Fix update 2D view on selections in scene tree
2018-08-23 18:07:25 +02:00
Juan Linietsky
0d0cf2e948
Change how path properties are presented, so they can be edited. Fixes #20709
2018-08-23 11:45:54 -03:00
Rémi Verschelde
d1497b720e
i18n: Fix extract.py after #17440
...
As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
2018-08-23 14:43:41 +02:00
Rémi Verschelde
87958e7ada
i18n: Merge translation catalogs with updated template
2018-08-23 14:37:31 +02:00
Rémi Verschelde
2f721d1245
i18n: Sync translation template with current source
...
Finally unlocking translations for the master/3.1 branch on Weblate
to prepare for the stable release.
2018-08-23 14:35:40 +02:00
Alexander Holland
b7db3a69b8
Fix update 2D view on selections in scene tree
2018-08-23 14:27:06 +02:00
Rémi Verschelde
32a6542672
i18n: Sync translations with Weblate
...
(cherry picked from commit f16f9b2b8a
)
Also adds initial Georgian and Latvian translations.
2018-08-23 13:38:37 +02:00
JFonS
927f9f283f
Remove material errors after opening new project, fixes #21073
2018-08-23 10:50:30 +02:00
Rémi Verschelde
18e1268cd7
Merge pull request #21254 from YeldhamDev/tile_grid_map_side
...
Add option to move Tile/GridMap editors to another side
2018-08-23 09:04:12 +02:00
Rémi Verschelde
0c0aa5fc6f
Merge pull request #21290 from elasota/texture-import-options
...
Hide unused options when not using "Video RAM" compression mode
2018-08-23 09:01:46 +02:00
elasota
7ad1ca525e
Hide "no BPTC if RGB" and "HDR Mode" options when not using "Video RAM" import.
2018-08-22 18:31:12 -04:00
Michael Alexsander Silva Dias
6fa1b5eca7
Add option to move Tile/GridMap editors to another side
2018-08-22 19:18:23 -03:00
Rémi Verschelde
61f15878de
Merge pull request #21283 from YeldhamDev/gridmap_meshlib_rename
...
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 22:41:40 +02:00
Rémi Verschelde
a752e2f4a3
Merge pull request #21150 from Calinou/more-window-placement-options
...
Add more project window placement options
2018-08-22 22:26:52 +02:00
Michael Alexsander Silva Dias
5c6be1aea5
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 16:52:38 -03:00
Hugo Locurcio
475a46c59c
Add more project window placement options
...
It is now possible to use the previous or next monitor (relative to
the editor) to display running projects. If either end is reached,
it will wrap around to the last or first monitor (respectively).
This closes #20283 .
2018-08-22 20:21:03 +02:00
Mariano Javier Suligoy
810b73c01e
Display tile ID along with name
...
Fixes #20895 .
2018-08-22 14:35:50 +02:00
Poommetee Ketson
a327a0078b
Fix crash when previewing null AudioStream
2018-08-22 17:03:51 +07:00
elasota
35f6ba5c5d
BPTC support
2018-08-21 22:56:04 -04:00
Rémi Verschelde
0e6551d8e2
Merge pull request #21274 from YeldhamDev/meshlib_editor_fixes
...
Fix MeshLibrary editor
2018-08-22 01:54:59 +02:00
Laurent Van Acker
4d6a6e0813
Add modulation of tiles from tileset in palette and editor draw
2018-08-22 01:36:43 +02:00
Michael Alexsander Silva Dias
d0f55ab6e4
Fix MeshLibrary editor
2018-08-21 19:06:52 -03:00
Rémi Verschelde
a3fe19dd10
Merge pull request #21252 from vnen/remove-autoload-init
...
Disable scripting and physics early in EditorNode
2018-08-21 23:42:26 +02:00
Rémi Verschelde
4bf15d8090
Merge pull request #21236 from dragmz/windows-graceful-close
...
Try closing gracefully before terminating process
2018-08-21 22:47:21 +02:00
Juan Linietsky
0a8ac1a57c
display some constants as hex
2018-08-21 17:13:16 -03:00
Rémi Verschelde
404ee1a56b
Style: Fix issues that went past CI
2018-08-21 21:28:06 +02:00
Juan Linietsky
e20864c340
Clipped camera implementation, a camera that avoids going into geometry.
2018-08-21 11:48:48 -03:00
George Marques
ed3776c6a4
Disable scripting and physics early in EditorNode
...
This avoids issues with scripts being instanced before this is set, like
autoloads.
2018-08-20 21:55:01 -03:00
Rémi Verschelde
5dc2b12efa
Merge pull request #21241 from dragmz/reset-debugger-reason
...
Reset reason text when no longer connected
2018-08-21 00:12:25 +02:00
Rémi Verschelde
ad8a6b10b5
Merge pull request #21220 from Noshyaar/import-crash
...
Fix crash while importing corrupt wav
2018-08-21 00:10:06 +02:00
Rémi Verschelde
35d232b100
Merge pull request #21228 from Noshyaar/docs-bind
...
Fix arg name in docs, some copy-paste errors
2018-08-21 00:08:05 +02:00
Rémi Verschelde
cc3ccf7caa
Merge pull request #21234 from guilhermefelipecgs/fix_inspector_capitalize
...
[EditorInspector] Fix ImportDock and ProjectExport capitalize
2018-08-21 00:07:15 +02:00
Marcin Zawiejski
ca1c851dbd
Try closing gracefully before terminating process
...
Use a Microsoft recommended way of process termination for the project
process run from the editor. This allows loaded DLLs to receive and handle
DLL_PROCESS_DETACH notification and cleanup any global state before the
process actually exits.
2018-08-20 22:41:06 +02:00
Guilherme Felipe
50326a0077
[EditorInspector] Fix ImportDock and ProjectExport capitalize
2018-08-20 17:07:02 -03:00
Poommetee Ketson
ec68822cd7
Fix crash while importing corrupted wav
...
Line 199 does division with 'bits per sample' but the check for
0 is missing.
2018-08-21 02:06:22 +07:00
Poommetee Ketson
76adef2704
Fix arg name in docs, some copy-paste errors
2018-08-21 01:51:19 +07:00
Marcin Zawiejski
ce73b56adb
Reset reason text when no longer connected
...
Resets the "Child Process Connected" when the child process is no longer
connected.
2018-08-20 20:46:14 +02:00
Hugo Locurcio
dd4fe8588b
Fix occasional crash when downloading assets from the Asset Library
...
This is caused by GitHub not publishing a Content-Length header in
all cases (it only does so if the file was requested recently),
which in turn made `String.humanize_size()` try to humanize a size of
-1 byte (as returned by HTTPRequest when no Content-Length
is contained in the response).
This crashed the editor due to a division by zero.
This closes #21200 .
2018-08-20 20:21:56 +02:00
Juan Linietsky
c1bd768ca2
Merge pull request #18822 from QbieShay/master
...
Added spring arm node
2018-08-20 14:21:04 -03:00
Juan Linietsky
c7e4527a88
Massive rewrite to AnimationTree. Many APIs changed in order to:
...
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Rémi Verschelde
75e540ce72
Merge pull request #21148 from akien-mga/placeholder_text_hint
...
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
2018-08-20 17:15:03 +02:00
Hein-Pieter van Braam
e9a35c2c6b
Remove a stray semicolon
...
This was causing a lot of compiler warnings for no good reason.
2018-08-20 15:02:09 +02:00
Rémi Verschelde
661c9ece7c
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
...
Use it to provide a better example for application identifiers
on Android, iOS and macOS, where users thought they *had* to use
this as a magic token.
2018-08-20 13:48:05 +02:00
Rémi Verschelde
e7c5aca040
Port ImportDock and ProjectExport to new property editor (2nd try)
...
Thanks to @ibrahn for helping debug the crashes caused in ProjectExportDialog
by the stray `update_tree()` call, no longer needed in the new inspector.
2018-08-20 10:07:06 +02:00
Rémi Verschelde
15433cffe7
Merge pull request #21195 from AlexHolly/search-help-selection-color
...
changed search help selection color
2018-08-20 09:17:41 +02:00
Rémi Verschelde
e746be7aa9
Merge pull request #21166 from Zylann/find_in_files_improvement
...
Find in Files improvements
2018-08-20 09:13:03 +02:00
Alexander Holland
5ba083ea1b
changed search help selection color
2018-08-19 22:06:20 +02:00
Marc Gilleron
09c55f43cf
Find in Files improvements
...
- Search results are now grouped by file using a Tree control
- You can opt out occurences when using replace mode
- Double-check search results in case files have been tampered with, so occurrences don't get badly replaced
- Fixed replace bug when an occurrence is found twice in one line
2018-08-19 19:24:39 +01:00
Rémi Verschelde
5d09877da8
Merge pull request #21154 from Chaosus/grid_2d_color
...
Added setting to change color of 2d editor grid
2018-08-19 14:17:55 +02:00
Rémi Verschelde
88cb039f39
Merge pull request #21129 from Calinou/fix-3d-grid-origin-flicker
...
Fix the 3D grid flickering when the origin is enabled
2018-08-19 14:15:24 +02:00
Rémi Verschelde
94908f08e5
Merge pull request #20893 from guilhermefelipecgs/invert_depth_map
...
Add option to convert from height map to depth map
2018-08-19 09:57:30 +02:00
Chaosus
66c25d4829
Added possibility to change color of 2d editor grid
2018-08-19 10:04:16 +03:00
Rémi Verschelde
8bc9986db4
Merge pull request #21155 from ordigdug/fix-colorpicker-popup
...
Fixes colorpicker popup immeditately closing when interacting with co…
2018-08-18 22:48:29 +02:00
Poommetee Ketson
f19446622a
Fix args count mismatch in property_changed signal
...
...when editing Dictionary/Array property
2018-08-19 03:35:51 +07:00
DualMatrix
8ad251b331
Fixed text entry is going in reverse
...
Fixed text entry is going in reverse, this undoes what seems to be a mistake in #20400 and fixes #21061
2018-08-18 20:23:54 +02:00
ordigdug
17b439844d
Fixes colorpicker popup immeditately closing when interacting with colorpicker property in a subinspector. Fixes #19559
2018-08-18 11:47:14 -04:00
Rémi Verschelde
b3246f13d1
Revert "Port ImportDock and ProjectExport to new property editor"
2018-08-18 15:24:31 +02:00
Rémi Verschelde
0a3d874efd
Port ImportDock and ProjectExport to new property editor
2018-08-18 15:07:23 +02:00
QbieShay
bb14ef5623
added spring arm node.
2018-08-18 14:34:42 +02:00
Hugo Locurcio
442029b1c0
Fix the 3D grid flickering when the origin is enabled
2018-08-17 23:22:03 +02:00
Guilherme Felipe
72104161db
[Texture Importer] Add option to invert color
2018-08-17 13:55:33 -03:00
Natrim
6ad0f4ebe8
Particles2D: fix editing Visibility Rect from inspector
...
+ renamed generate_aabb to generate_visibility_rect to prevent future confusions
2018-08-17 12:25:48 +02:00
Rémi Verschelde
5542d4a830
Export dialog: Fix error color and link alignment
...
Also fix extraneous "- " line when there are more than 2 messages.
2018-08-17 11:35:05 +02:00
Chaosus
0d16ffbcaa
Fix error icon color
2018-08-17 09:19:44 +03:00
Markar
e46c2dbf74
Fix bucket fill behaviour when selecting multiple tiles
2018-08-17 01:55:21 +02:00
Rémi Verschelde
134d071ca7
Merge pull request #21046 from DualMatrix/recent_custom_type
...
Fixed custom nodes not working with favorites and recently used
2018-08-16 18:28:03 +02:00
Rémi Verschelde
e06825ba4b
Merge pull request #21067 from natrim/Particles2D_AABB
...
Particles2D: set emitting if not set before generating Visibility Rect
2018-08-16 18:27:23 +02:00
DualMatrix
9896b7bbf9
Fixed custom nodes not working properly with favorites and recently used in create node window.
2018-08-16 17:14:52 +02:00
Rémi Verschelde
ba47f15b78
Fix crash assigning script to a Resource
...
We were dereferencing the wrong identifier, which could be NULL.
Fixes #19289 , supersedes and closes #20985 .
2018-08-16 15:40:06 +02:00
Natrim
e11e080fa2
Particles2D: set emitting if not set before generating Visibility Rect
...
and removed not needed running zeroing
in ParticlesEditor::_generate_aabb
2018-08-16 15:35:12 +02:00
Chaosus
4fdb8ebdec
Fix debugger icon for warnings
2018-08-16 08:50:42 +03:00
Rémi Verschelde
1c17c2b9b3
Merge pull request #21023 from Paulb23/fix_reopening_text_file
...
Fix re-opening of TextFiles when its already being edited.
2018-08-15 23:16:19 +02:00
Rémi Verschelde
bec8c7770c
Merge pull request #21022 from Paulb23/create_text_files
...
Ability to create TextFiles.
2018-08-15 23:15:14 +02:00
Paulb23
6741e7a15d
Added method to create TextFiles
2018-08-15 21:09:34 +01:00
Will Nations
3ed9231117
Fix error spam from loading script class icons
2018-08-15 10:17:28 -05:00
Rémi Verschelde
d006aa0abb
Merge pull request #21021 from DualMatrix/new_node_warning
...
Fixed error spam in create node dialog with custom types.
2018-08-15 16:10:12 +02:00
DualMatrix
8591a1bd80
Fixed error spam in create node dialog with custom types.
...
This should fix #20789
2018-08-15 15:35:14 +02:00
Rémi Verschelde
040c6be426
Merge pull request #20560 from willnationsdev/class_icons
...
Add custom icons to script classes.
2018-08-15 15:16:29 +02:00
Rémi Verschelde
2f20836e52
Merge pull request #19837 from willnationsdev/plugin-utilities
...
Add PluginConfigDialog.
2018-08-15 11:42:51 +02:00
Rémi Verschelde
e92777c1ee
Merge pull request #21007 from guilhermefelipecgs/disable_camera_interpolation
...
Disable camera interpolation when switching scene tabs
2018-08-15 09:03:53 +02:00
Rémi Verschelde
eef39bcb84
Merge pull request #21010 from YeldhamDev/tile_editors_changes
...
Changes to the TileSet and TextureRegion editors
2018-08-15 01:14:53 +02:00
Rémi Verschelde
859f3bf5a9
Merge pull request #20873 from ttencate/master
...
Allow middle-click to close scripts
2018-08-15 01:10:21 +02:00
Paulb23
81bf150cdc
Fix re-opening of TextFiles when its already being edited
2018-08-14 23:44:55 +01:00
Guilherme Felipe
ae788125a0
Disable camera interpolation when switching scene tabs
...
Fix #11764
2018-08-14 19:25:27 -03:00
Rémi Verschelde
1e49b2d720
Merge pull request #20997 from Gamblify/add_files_to_tree_view
...
Add a way to disable the split view in the FileSystem dock
2018-08-14 22:50:51 +02:00
Will Nations
6d9cc032e7
Add custom icons to script classes.
2018-08-14 14:18:05 -05:00
Juan Linietsky
e6a64b1888
Avoid scripts from being opened in same inspector, closes #20111
2018-08-14 15:44:23 -03:00
Juan Linietsky
c72cab1293
Revert "Open visual editor when "open editor" button in the inspector is pressed"
2018-08-14 15:35:21 -03:00
Rémi Verschelde
78a6cd9e09
Merge pull request #20977 from malbach/Particles3D_AABB
...
Particles3D: set emitting if not set before generating AABB
2018-08-14 20:20:28 +02:00
Michael Alexsander Silva Dias
609d97b6d4
Changes to the TileSet and TextureRegion editors
2018-08-14 14:02:47 -03:00
Thomas ten Cate
d867f11820
Allow middle-click to close scripts
...
Fixes #20871
2018-08-14 18:01:06 +02:00
Rémi Verschelde
bbdb6cf16e
Merge pull request #20400 from OliPerraul/oliperraul/20332/fix_defects_with_editor_export_dict
...
Fixed a number of issues related to the Dictionary export property for the editor
2018-08-14 16:15:43 +02:00
Rémi Verschelde
c3a57ddf03
Merge pull request #20484 from willnationsdev/create-favorites
...
Add toggle for favorites in create_root_dialog
2018-08-14 16:12:02 +02:00
Rémi Verschelde
7a2ad1321a
Merge pull request #20621 from YeldhamDev/bottom_panel_min
...
Adjust bottom panel's minimal height for the expand icon
2018-08-14 15:57:19 +02:00
Rémi Verschelde
0322081ec5
Merge pull request #20744 from Zylann/fix_viewport_lock_rotation
...
Initialize default lock rotation in constructor
2018-08-14 15:49:04 +02:00
Rémi Verschelde
22c3fcb20b
Merge pull request #20760 from Calinou/improve-assetlib-download-ux
...
Improve the asset library download UX
2018-08-14 15:48:31 +02:00
Rémi Verschelde
8c38bab6d7
Merge pull request #20831 from Calinou/project-manager-window-size-hidpi
...
Scale the project manager window size with the editor scale
2018-08-14 15:45:48 +02:00
Rémi Verschelde
c8414007ad
Merge pull request #20835 from Calinou/use-standard-button-texts-2
...
Tweak some editor button texts
2018-08-14 15:45:34 +02:00
Rémi Verschelde
892667878a
Merge pull request #20848 from Calinou/improve-3d-manipulator-gizmo
...
Improve the 3D manipulator gizmo
2018-08-14 15:43:52 +02:00
Rémi Verschelde
affc781d72
Merge pull request #20999 from ivodopiviz/project-manager-show
...
Always show "Open in File Manager"
2018-08-14 15:28:18 +02:00
Rémi Verschelde
c50d7f7b84
Merge pull request #20915 from ivodopiviz/rmb-filesystem
...
Show in File Manager Clarification
2018-08-14 14:35:43 +02:00
Ivan Vodopiviz
f6a250adf8
Always show "Open in File Manager"
...
Now this button is always shown in the project manager. Fixes #20799 .
2018-08-14 14:17:55 +02:00
Ivan Vodopiviz
afb3c0c933
Show in File Manager Clarification
...
Changed the context menu 'Show in File Manager' action description to better reflect actual behavior. Fixes #20897
2018-08-14 11:50:04 +02:00
groud
b3f02d0840
Add a way to disable the split view
...
Also add a parameter as the max height before split
2018-08-14 10:17:51 +02:00
Rémi Verschelde
62f3de6c86
Merge pull request #20747 from hpvb/fix-20184
...
Do not call _update_actions when only changing deadzone
2018-08-14 10:00:01 +02:00
Rémi Verschelde
3ebbd09765
Merge pull request #20976 from Chaosus/warning_color
...
Add warning color to output log
2018-08-14 09:36:49 +02:00
Rémi Verschelde
12dd1435d2
Merge pull request #20952 from hpvb/fix-17963
...
When starting up try creating directories recursively
2018-08-14 09:20:14 +02:00
Hein-Pieter van Braam
321ac5ae13
When starting up try creating directories recursively
...
Previously we had a check to see if cache and data directories exist and
another check to try to make them if they do not. However the second
check was never reached if we don't have the directories in question.
Furthermore for cache directories on Linux people who never started a
desktop environment we need to recurisively create the XDG directory as
well as the godot specific directory.
This fixes #17963
2018-08-14 00:10:20 +02:00
Chaosus
94cf2133d5
Add warning color to output log
2018-08-13 21:52:38 +03:00
Rémi Verschelde
641dd15b1d
Merge pull request #20953 from hpvb/fix-20322
...
Don't try to update the visual shader graph if it doesn't exist yet
2018-08-13 20:47:24 +02:00
Rémi Verschelde
4170aa3f39
Merge pull request #20956 from volzhs/update-help
...
Update help doc when changing font size
2018-08-13 20:46:38 +02:00
Rémi Verschelde
7558a77f69
Merge pull request #20963 from akien-mga/remove-tmp-tpz
...
Remove cached .tpz archive after templates download and install
2018-08-13 20:45:20 +02:00
malbach
334922de8f
Particles3D: set emitting if not set before generating AABB
2018-08-13 18:02:06 +02:00
Rémi Verschelde
b68f186c46
Merge pull request #20971 from swarnimarun/new-resource-option
...
Fix for resource save dialog call
2018-08-13 16:32:22 +02:00
Swarnim Arun
48abe73fe2
Fix for resource save dialog call
...
to make sure the resource save opens in the current folder when using right click to do it.
2018-08-13 19:24:35 +05:30
Rémi Verschelde
0d96902a0c
Merge pull request #20731 from YeldhamDev/scr_editor_context_fix
...
Fix wrong context menu when right-clicking script/doc files
2018-08-13 13:35:53 +02:00
Rémi Verschelde
68ab428d4d
Merge pull request #20155 from Tunous/line-edit-clear
...
Add clear button to search fields
2018-08-13 12:54:57 +02:00
Rémi Verschelde
812d0aba42
Remove cached .tpz archive after templates download and install
...
Closes #20640 .
2018-08-13 12:46:02 +02:00
Rémi Verschelde
623529ce2f
Merge pull request #20778 from ibrahn/remove-zero-append-typos
...
removed some surplus null appends that got typoed in 0e29f7974b59e444…
2018-08-13 12:31:46 +02:00
Rémi Verschelde
b69143023f
Merge pull request #20680 from Calinou/text-editor-faster-caret-blink
...
Make the default text editor caret blink speed faster
2018-08-13 12:27:53 +02:00
Rémi Verschelde
8cbd090249
Merge pull request #20670 from Calinou/script-editor-zoom-hidpi
...
Fix zoom display in the script editor on hiDPI displays
2018-08-13 12:22:58 +02:00
Rémi Verschelde
652eb9347c
Merge pull request #20668 from SaracenOne/enum_help_fix
...
Fixes the hyperlinks for enumerators inside classes in the editor help.
2018-08-13 12:22:21 +02:00
Rémi Verschelde
2062d6126d
Merge pull request #20587 from groud/fix_2deditor_scrollable_zone
...
Fixes bugs on the 2D editor scrollable area
2018-08-13 09:03:34 +02:00
volzhs
1574c3a186
Update help doc when changing font size
2018-08-13 09:59:59 +09:00
Hein-Pieter van Braam
2a02f44ad9
Don't try to update the visual shader graph if it doesn't exist yet
...
When setting shader mode on a visual shader that was just created in the
editor we try to _update_graph(). However, the graph does not yet exist
in the visualshadereditor. This gets populated in
VisualShaderEditor::edit() which hasn't been called yet.
This PR simply changes the logic to not try to update the non-existent
graph.
This fixes #20322
2018-08-12 22:33:35 +02:00
Juan Linietsky
15530ce2c5
Fix gizmos submenu
2018-08-12 10:20:32 -03:00
Juan Linietsky
64595f0f6a
Merge pull request #20928 from JFonS/gizmo_enabling
...
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 19:20:08 -03:00
JFonS
ac51da2eb6
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 23:07:00 +02:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
George Marques
eb48119821
Added system for GDScript warnings
...
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
2018-08-10 16:00:47 -03:00
Juan Linietsky
c76f444c4e
Merge pull request #14704 from poke1024/colorconstants
...
Allow some non-integer built-in constants in gdscript
2018-08-10 12:57:20 -03:00
Juan Linietsky
b293dd363e
Merge pull request #20585 from MarianoGnu/tileset_editor
...
New TileSet Editor
2018-08-09 21:35:57 -03:00
Juan Linietsky
ae67c0b303
too much information, made it less information
2018-08-09 20:50:31 -03:00
MAriano Javier Suligoy
ce87a30e45
New TileSet Editor
2018-08-09 20:38:02 -03:00
Juan Linietsky
432f2f1a67
Information sign for MarianoGNU
2018-08-09 20:31:35 -03:00
Juan Linietsky
fbb5ca4d97
Merge pull request #20584 from JFonS/gizmo_enabling
...
New gizmo structure and gizmo disabling menu
2018-08-09 16:27:59 -03:00
JFonS
59fd18ab1a
New gizmo structure and new gizmo disabling menu
2018-08-09 20:58:39 +02:00
Hugo Locurcio
dcca20027c
Improve the 3D manipulator gizmo
...
Its size now takes into account the editor scale and the viewport's
half resolution setting. It is now also more detailed.
2018-08-09 16:34:18 +02:00
Hugo Locurcio
147f7fbdcf
Tweak some editor button texts
2018-08-09 11:22:11 +02:00
Hugo Locurcio
cd29cdab15
Scale the project manager window size with the editor scale
...
This also makes the project search field slightly larger.
2018-08-09 11:10:48 +02:00
Juan Linietsky
934c641a15
-Add Expression class, used to evaluate expressions
...
-Added expression evaluation to EditorSpinSlider, fixes #20813 , fixes #18932
2018-08-08 17:35:23 -03:00
willnationsdev
1ea37c34ad
Add toggle for favorites in create_root_dialog.
2018-08-08 12:15:42 -05:00
Hugo Locurcio
c541430315
Fix a typo in a TTR() call
2018-08-08 16:30:23 +02:00
Juan Linietsky
51da08856a
Merge pull request #20737 from Calinou/use-standard-button-texts
...
Use a standard "OK" text for confirmation buttons in error dialogs
2018-08-08 09:46:22 -03:00
Juan Linietsky
254eb46de3
Several improvements to inspector.
...
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Ibrahn Sahir
62f0dd9d57
removed some surplus null appends that got typoed in 0e29f7974b
...
A couple of null appends got typoed to append a '0' character instead.
Removed them here since String already takes care of the null terminator for us.
2018-08-07 03:30:14 +01:00
Juan Linietsky
5b70ad9d34
Respect process order for out of order skeleton bones (fixes GLTF2 import issues).
2018-08-06 22:35:09 -03:00
Juan Linietsky
00c573c255
Several fixes to GLTF2 importer
2018-08-06 18:41:37 -03:00
Hugo Locurcio
c1108a4d17
Improve the asset library download UX
...
The progress bar is now correctly set to 0% while initiating
the download and is hidden once the download is completed.
2018-08-06 21:37:59 +02:00
Juan Linietsky
edde52c8de
Added proper import support for 3D and Array textures
2018-08-06 14:56:06 -03:00
Hein-Pieter van Braam
7db66fea39
Do not call _update_actions when only changing deadzone
...
Because changing the deadzone with a click happens during
_propagate_mouse_event the tree is always blocked leading to a crash. We
don't actually need to update actions here anyway.
This fixes #20184
2018-08-05 22:22:16 +02:00
Marc Gilleron
65215a7829
Initialize default lock rotation in constructor
2018-08-05 19:24:11 +01:00
Hugo Locurcio
1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
...
[ci skip]
2018-08-05 16:49:22 +02:00
Michael Alexsander Silva Dias
9194e42175
Fix wrong context menu when right-clicking script/doc files
2018-08-05 04:53:36 -03:00
AndreaCatania
b7e66188df
Implemented IK
2018-08-04 11:25:07 +02:00
Hugo Locurcio
24f39b08c7
Make the default text editor caret blink speed faster
2018-08-02 21:03:31 +02:00
Hugo Locurcio
cbe9597021
Fix zoom display in the script editor on hiDPI displays
2018-08-02 11:41:29 +02:00
Saracen
63c6a2487f
Fixes the hyperlinks for enumerators inside classes in the editor help.
2018-08-02 09:40:36 +01:00
Bernhard Liebl
ba974b8d1e
Allow some non-integer built-in constants in gdscript
2018-07-31 17:56:48 +02:00
Michael Alexsander Silva Dias
22ffaded01
Adjust bottom panel's minimal height for the expand icon
2018-07-30 19:12:31 -03:00
Juan Linietsky
5a5614e8ad
Add support for line continuations (wtf) in obj format, fixes #7974
2018-07-29 21:37:55 -03:00
groud
eb7f4ddcce
Fixes bugs on the 2D editor scrollable area
2018-07-30 01:05:13 +02:00
Juan Linietsky
317dee95de
It is now possible to import images as a separate resource, closes #5738 and likely many others
2018-07-29 16:45:23 -03:00
Juan Linietsky
7b63c6323d
Clear color was not correctly being set, fixes #4939
2018-07-29 15:09:42 -03:00
Juan Linietsky
0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
...
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Hein-Pieter van Braam
5c88bc66e3
Undo an accidental revert.
...
Sorry for the history pollution. I was testing something on this branch
and forgot to reset befor pushing the security update.
This reverts commit 2ef66def46
.
2018-07-29 04:14:57 +02:00
Hein-Pieter van Braam
2ef66def46
Revert "Open visual editor when "open editor" button in the inspector is pressed."
...
This reverts commit 0ae400f523
.
2018-07-28 21:16:20 +02:00
oliperraul
dc2df7a146
Fixed a number of issues related to the Dictionary export property for the editor
...
* Fixed a problem when buttons were deleted on the same frame they were pressed (inside update_property)
* Prevent usage of nul key for a dictionary.
* Provide symetry in the interface for both the array property and dictionary property by first clicking on the field to instantiating the dictionary.
Array (Nil), Array (size 0), Array (size 1)
Dictionary (Nil), Array (size 0), Array (size 1)
* Allow to press enter to confirm a string in line edi.
2018-07-28 14:17:56 -04:00
Rémi Verschelde
578c8fc1e5
Fix layer 2-line tooltips used as name in inspector
...
Fixes #20288 .
2018-07-28 10:27:19 +02:00
Viktor Ferenczi
c5bd0c37ce
Running builder (content generator) functions in subprocesses on Windows
...
- Refactored all builder (make_*) functions into separate Python modules along to the build tree
- Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere
- Introduced stub to use the builders module as a stand alone script and invoke a selected function
There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp)
on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky
builds. Running all such content generators in a new subprocess instead of directly inside the
build script works around the issue.
Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle.
Suggested workaround did not fully work either.
Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of
running a cross-compilation on Windows they would still be used, but likely it will not happen
in practice. What counts is that the build itself is running on which platform, not the target
platform.
Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
2018-07-27 21:37:55 +02:00
Juan Linietsky
936b5a395a
Do conversion of scene preview icon at the end, improves save performance a bit. Closes #14387
2018-07-27 08:59:43 -03:00
Rémi Verschelde
b5b8f52d4f
Merge pull request #15310 from remorse107/Cinema-Mode
...
Added "Cinema Mode" so that the spatial editor can actively track the...
2018-07-27 08:12:22 +02:00
Robert Morse
75947b1b72
Add "Cinematic Preview" to the Spatial Plugin Editor.
2018-07-26 19:15:28 -05:00
Juan Linietsky
274d1bc683
Merge pull request #20233 from willnationsdev/gsc-editor
...
Add script class hierarchies & add-script button permanence/auto-derivation
2018-07-26 17:36:44 -03:00
Max Hilbrunner
6cf5eb8e37
Merge pull request #20022 from EIREXE/snap_to_floor
...
Add snap to floor functionality to the editor
2018-07-26 22:31:03 +02:00
Will Nations
ff604414a4
Add PluginConfigDialog, EditorPluginSettings GUI
2018-07-26 10:12:05 -05:00
Rémi Verschelde
91d6fa817e
Merge pull request #15967 from Gamblify/AudioRecordingModule
...
Audio Recording from godot
2018-07-26 15:37:19 +02:00
Ian
1bb13e95a8
context menu improvements
2018-07-26 08:58:35 -04:00
Gustav Lund
cd2070c684
Audio Recording module
...
Implements an Audio bus effect that outputs the audio from the bus into a wav file
Now channels audio recording into an AudioStreamSample instead of saving to wav
2018-07-26 14:14:29 +02:00
Rémi Verschelde
fd16dd48cb
i18n: Sync translations with Weblate
...
(cherry picked from commit 5c6c88ef15
)
2018-07-26 11:23:51 +02:00
Rémi Verschelde
eab105310b
Merge pull request #19257 from volzhs/edit-visual-script
...
Open internal visual script editor while use external editor is on
2018-07-26 10:36:01 +02:00
Rémi Verschelde
39168f125e
Merge pull request #19464 from bojidar-bg/19448-fix-subproperty-handling
...
Fix bug in animationplayer editor not using subproperties properly
2018-07-26 10:31:05 +02:00
Rémi Verschelde
c47f824c3b
Merge pull request #20466 from TigerCaldwell/layer_toggle_fix
...
Layer editor shouldn't close each time one is toggled (#20399 )
2018-07-26 09:26:16 +02:00
Alex Roman
af725094d7
Add snap to floor functionality to the editor
2018-07-26 08:34:40 +02:00
Rémi Verschelde
4c5f0844e1
Merge pull request #19758 from kyledayton/feature/spatial-viewport-lock-rotation
...
Add lock rotation feature to spatial editor viewport
2018-07-26 08:31:20 +02:00
Kyle Dayton
46ec1deba5
Add lock rotation feature to spatial editor viewport
2018-07-25 21:37:04 -05:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Tiger Caldwell
5421e46a43
Fixed Issue #20399
2018-07-25 18:50:12 -04:00
Rémi Verschelde
96ce66e00f
Merge pull request #20455 from Calinou/add-user-data-dropdowns
...
Add menu buttons to open the project and editor data folders
2018-07-26 00:01:49 +02:00
Hugo Locurcio
b4f6b20273
Add menu buttons to open the project and editor data folders
2018-07-25 23:41:35 +02:00
Will Nations
3de15363ab
Add script hierarchies,add-script btn auto-derives
2018-07-25 15:18:45 -05:00
Juan Linietsky
79d4be275f
Merge pull request #20260 from fire/editor_property_type
...
Add editor property type so that inspector can search for objects.
2018-07-25 16:59:28 -03:00
K. S. Ernest (iFire) Lee
23744d8064
Add editor property type so that inspector can search for objects. This is a regression.
2018-07-25 12:54:35 -07:00
Paulb23
6696b16685
Fix crash on doc right click, issue 20429
2018-07-25 19:24:06 +01:00
volzhs
6bdec4ffb6
Open internal visual script editor while use external editor is on
2018-07-25 11:59:31 +09:00
Rémi Verschelde
4080e7ff8e
Merge pull request #20300 from Chaosus/editorsettings_fixes
...
Few fixes for editor tab in editor settings
2018-07-25 01:08:31 +02:00
K. S. Ernest (iFire) Lee
ac541f5d16
Bones are now named and their parents are correct.
2018-07-24 15:29:53 -07:00
Max Hilbrunner
b92c432313
Merge pull request #19225 from Paulb23/open_all_files_in_script_editor
...
Open all files in script editor
2018-07-24 21:52:11 +02:00
Rémi Verschelde
1f6fedeb37
Merge pull request #19729 from razcore-art/rename-discard-instancing
...
Rename 'Discard Instancing' to 'Make Local'
2018-07-24 20:51:53 +02:00
Marcelo Fernandez
ff95bbc6c4
Fixed Bucket Fill tool
2018-07-24 13:11:38 -03:00
Max Hilbrunner
81fd48eb1e
Tilemap editor: Fix crash introduced in #17582
2018-07-24 17:42:24 +02:00
Rémi Verschelde
a2f9ce2569
Merge pull request #20328 from ordigdug/fix-grid-missing-lines
...
Fix grid missing lines. Fixes : #20246
2018-07-24 14:49:53 +02:00
Rémi Verschelde
c2a2567ecc
Merge pull request #20359 from swarnimarun/new-resource-option
...
Ability to add Resource from FileSystem Dock
2018-07-24 14:48:54 +02:00
Wilson E. Alvarez
a22e746bc3
Removed unnecessary assignments
2018-07-24 09:51:03 +02:00
Rémi Verschelde
4b277c2c20
Merge pull request #19693 from nhair/import-project-via-zip
...
Add ability to import projects via ZIP archive.
2018-07-24 09:00:33 +02:00
Juan Linietsky
dc976cac57
Merge pull request #12678 from AndreaCatania/soft
...
Soft body
2018-07-23 16:04:32 -03:00
AndreaCatania
17ebbfb56d
Implemented Soft body
...
- Soft Body Physics node
- Soft Body Rendering
- Soft body Editor
- Soft body importer
2018-07-23 20:50:23 +02:00
Juan Linietsky
ec85fd554b
Fix issues with CPUParticles and related conversion from Particles. Closes #20126
2018-07-23 12:28:50 -03:00
steincodes
a1dee44e21
Ability to add Resource from FileSystem Dock
2018-07-22 21:23:40 +05:30
Rémi Verschelde
89e1b302b5
Merge pull request #20136 from ordigdug/Inspector-fix-remote-debug-view-changing-after-exit-game
...
Fix -inspector- remote debug view not changing to current scene a…
2018-07-22 17:33:00 +02:00
Paulb23
8ff747171f
Allow opening and editing of any utf_8 file in script editor
2018-07-22 11:55:56 +01:00
Paulb23
765d6752bb
Refactored text manipulation into CodeTexteditor
2018-07-22 11:48:59 +01:00
ordigdug
7ab7bda48e
Fix grid missing lines #20246
2018-07-22 05:00:51 -04:00
George Marques
03746da73f
Add editor highlight for type-safe lines
...
The line number is hightlighted to indicate that the line contains only
type-safe code.
2018-07-20 21:55:18 -03:00
George Marques
75f395c2a0
Use type hints to improve completion
...
- Allow type hints to be completed.
- Use type information to infer completion candidates.
- Show typed function signature in tooltip.
- Add type hints when completing declaration from virtual functions
(optional).
2018-07-20 21:55:17 -03:00
Juan Linietsky
cfcb6e11f2
Merge pull request #20312 from Nufflee/fix-#20171
...
Fix #20171 .
2018-07-20 18:17:00 -03:00
Juan Linietsky
336db8bcd1
-Fix tooltips in inspector, now they show as rich text.
2018-07-20 18:16:19 -03:00
Nufflee
228bd21e26
Fix #20171 .
2018-07-20 22:25:18 +02:00
Michael Alexsander Silva Dias
12b55610ed
Make Update Spinner popup use radio items
2018-07-20 14:32:53 -03:00
Chaosus
982c4d7d5c
Few fixes for editor tab in editor settings
2018-07-20 13:22:22 +03:00
Rémi Verschelde
8c9e10553c
Fix build issues and typos after c69de2ba4
2018-07-20 08:37:10 +02:00
Juan Linietsky
c69de2ba46
-Project/Editor settings now use new inspector
...
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
2018-07-19 19:02:04 -03:00
Rémi Verschelde
76bfe14e00
Merge pull request #20117 from ordigdug/inspector-fix-inconsistencies-with-exported-enums
...
Fix -new inspector- Inconsistencies with exported enums - Fixes remai…
2018-07-19 18:18:20 +02:00
Juan Linietsky
911febb41f
Improvements to vector fields, show axis in color with a background
2018-07-18 22:27:39 -03:00
ordigdug
afb4dfab22
Fix -new inspector- Inconsistencies with exported enums - Fixes remaining issues in #19534
2018-07-18 20:01:03 -04:00
Juan Linietsky
43dc050947
Several improvements to editor inspector usability and style
2018-07-18 19:37:41 -03:00
Juan Linietsky
82b550c6b3
Fix spin slider, was not registering drag properly
2018-07-18 15:35:26 -03:00
Rémi Verschelde
7c9f7452f4
Style: Format code with clang-format 6.0.1
2018-07-18 16:27:03 +02:00
Max Hilbrunner
ce53876a44
Merge pull request #20242 from akien-mga/export-preset-reload
...
Export: Properly reload preset when opening dialog
2018-07-18 16:20:57 +02:00
Rémi Verschelde
13239cd4cc
Export: Properly reload preset when opening dialog
...
Fixes #20119 where newly installed templates were not detected.
Also fix a bug with preset deletion where it would attempt to
edit an already removed preset. For this I made it so that
ItemList::deselect_all() also resets `current` to -1, as a manual
ItemList::deselect(idx) already does.
2018-07-18 13:49:34 +02:00
Rémi Verschelde
70b3ef52da
Export filters: Relax match to allow paths without leading res://
...
Previously to include "file.txt", you had to set either "res://file.txt",
"*file.txt" or "*.txt" as filter. Now you can use "file.txt".
2018-07-18 12:20:37 +02:00
Rémi Verschelde
afb554afdf
Merge pull request #20185 from volzhs/audio-preview
...
Add audio preview to Inspector dock
2018-07-18 10:38:30 +02:00
Rémi Verschelde
2c63d02f24
Merge pull request #20227 from volzhs/fix-copy-ttf
...
Fix copying ttf, otf by DND to editor
2018-07-18 08:34:39 +02:00
volzhs
4bb85b70e1
Fix copying ttf, otf by DND to editor
...
regression from d65ac7378c
2018-07-18 01:49:57 +09:00
Rémi Verschelde
f1970e15b9
Merge pull request #20186 from Yar-Mukhamedov/master
...
A fix for the export templates installation error...
2018-07-17 18:06:58 +02:00
Rémi Verschelde
71b18acb05
Merge pull request #20220 from volzhs/texture-size
...
Fix preview texture size on Inspector
2018-07-17 18:04:19 +02:00
Max Hilbrunner
c5690240b4
Merge pull request #18535 from sketchyfun/new_mirror_path_handles
...
Added curve in/out (tangent) handle mirroring
2018-07-17 16:16:08 +02:00
Yar-Mukhamedov
bf37bd94b6
Fix export templates installation error...
2018-07-17 20:14:20 +06:00
Max Hilbrunner
abfa4b822b
Merge pull request #18717 from Essojadojef/fix-inputmap-categories
...
Fix all Input Map actions expand when an event is modified
2018-07-17 16:14:10 +02:00
Max Hilbrunner
e57e53debb
Merge pull request #20217 from akien-mga/layer-tooltip
...
Inspector: Add bit/value info to layer tooltip
2018-07-17 16:12:26 +02:00
volzhs
d551f81874
Fix preview texture size on Inspector
2018-07-17 23:08:47 +09:00
volzhs
dd2f39da53
Add audio stream preview to Inspector dock
2018-07-17 22:11:35 +09:00
Rémi Verschelde
8b03df24e4
Merge pull request #20131 from ibrahn/fix-connection-dialog-make-function
...
fixed connection dialog's creation of script functions.
2018-07-17 14:50:50 +02:00
Rémi Verschelde
634ce7917e
Inspector: Add bit/value info to layer tooltip
...
Fixes #20213 .
2018-07-17 14:33:22 +02:00
Rémi Verschelde
95d99cb2ac
Merge pull request #20176 from Chaosus/vs_namefixes
...
Several name fixes for visual shaders
2018-07-17 13:54:22 +02:00
Rémi Verschelde
4565fd1216
Merge pull request #20147 from ibrahn/fix-move-file-dialog
...
fix for moving file using filesystem dock context menu.
2018-07-17 11:31:45 +02:00
Juan Linietsky
de910f8c26
Finally figured out how to implement AnimatedTexture properly.
2018-07-16 11:43:49 -03:00
Thomas Herzog
72430b041e
Merge pull request #20169 from Chaosus/rightclick_vs
...
Visual shaders - make "Add node" menu showed by right click
2018-07-16 15:46:18 +02:00
Thomas Herzog
103524e6b7
Merge pull request #20112 from nunodonato/openvisualeditorbutton
...
Open visual editor when "open editor" button in the inspector is pressed
2018-07-16 15:42:57 +02:00
Thomas Herzog
a21aeec4b9
Merge pull request #20167 from Chaosus/fix_vshader_bug
...
Fix display scale bug in visual shaders
2018-07-16 15:40:41 +02:00
Juan Linietsky
c0c243ac5c
New option, make any node the new scene root.
2018-07-15 23:52:57 -03:00
Juan Linietsky
512ffd489a
Small feature to help users understand the editor faster.
2018-07-15 23:11:29 -03:00
Juan Linietsky
af7d8fb844
Added small icon to expand the bottom panel (and shortcut too)
2018-07-15 22:38:14 -03:00
Juan Linietsky
a3f1ee5c57
Global class names (and GDScript support for it)
2018-07-15 19:29:00 -03:00
Chaosus
3af81427a1
Several name fixes for visual shader
2018-07-15 17:28:06 +03:00
Chaosus
f8417ac682
Visual shaders - make "Add node" menu showed by right click
2018-07-15 10:33:11 +03:00
Chaosus
c88da2fce5
Fix display scale bug in visual shaders
2018-07-15 08:55:41 +03:00
Juan Linietsky
f6ce73f724
Visual Shaders are back.
2018-07-14 18:16:18 -03:00
Ibrahn Sahir
9e4a6a6be2
fix for moving file using filesystem dock context menu.
...
Updated a method binding to match parameter default of recently added
parameter.
2018-07-14 02:47:43 +01:00
ordigdug
9c7e647124
Fix -new inspector- remote debug view not changing to current scene after exiting game - Fixes #20075
2018-07-13 13:00:14 -04:00
Ibrahn Sahir
f13f54e9db
fixed connection dialog's creation of script functions.
...
Was accessing deleted objects to find the argument list.
Reordered things to get the arg list before deletion.
2018-07-13 12:58:44 +01:00
Nuno Donato
0ae400f523
Open visual editor when "open editor" button in the inspector is pressed.
...
Fixes #20111
2018-07-12 12:41:22 +01:00
Max Hilbrunner
f312b01ccd
Merge pull request #19091 from guilhermefelipecgs/fix_ui
...
[InspectorDock] Change label offset
2018-07-12 05:12:35 +02:00
Max Hilbrunner
118d4f3115
Merge pull request #19540 from muiroc/cylinder
...
Cylinder resource and collision shape (bullet only)
2018-07-12 05:09:37 +02:00
Alexander-Alekseev
38887d1a52
Fallback to default font if main/code font path doesn't exist
2018-07-10 14:47:26 +00:00
unknown
9cc41a59ac
Added support for extra mouse buttons.
2018-07-09 14:34:19 +03:00
Juan Linietsky
ea47359408
Add option to convert Particles to CPUParticles
2018-07-07 09:04:22 -03:00
Juan Linietsky
7dcaabaf19
Support for CPU based particles, which aids compatibility with OpenGL ES 2.0
2018-07-06 20:21:42 -03:00
Max Hilbrunner
9f82368d40
Merge pull request #19475 from YeldhamDev/animplayer_cosmetic
...
Minor changes to the AnimationPlayer editor
2018-07-05 04:25:04 +02:00
Max Hilbrunner
c488a74e0c
Merge pull request #19498 from guilhermefelipecgs/fix_regression
...
Fix "find and replace" initializing with wrong size
2018-07-05 04:23:18 +02:00
Max Hilbrunner
073e77454d
Merge pull request #19713 from volzhs/fix-crash-nodepath-animation-edit
...
Fix crash when assigning a node on editing animation key
2018-07-05 04:20:40 +02:00
Max Hilbrunner
43748f67be
Merge pull request #19351 from guilhermefelipecgs/fix_reversed_text
...
Fixes to the new inspector
2018-07-05 03:50:31 +02:00
Max Hilbrunner
edc63a2f60
Merge pull request #18028 from gabrii/18026
...
Fix #18026 . Expose TextEdit::set_draw_breakpoint_gutter.
2018-07-05 02:30:18 +02:00
Max Hilbrunner
43a2e9e669
Merge pull request #15881 from dertom95/EditorScenePostImport
...
EditorScenePostImport: added get_source_folder() and get_source_file(…
2018-07-05 02:27:26 +02:00
Guilherme Felipe
709948aa5a
Fixes to the new inspector
...
- Fix inspector dock not updating tree for main resource;
- Fixes the inspector input text reverted during typing;
- Add method bind for "refresh" used by MultiNodeEdit;
2018-07-04 20:08:45 -03:00
Max Hilbrunner
751a4232ed
Merge pull request #19090 from toger5/prop_spinner_improovement
...
Prop editor input improvements
2018-07-05 00:51:16 +02:00
Max Hilbrunner
c41d322e11
Merge pull request #19183 from Nallebeorn/rename-main-scene
...
Update resource file project settings after renaming/moving the files
2018-07-05 00:44:23 +02:00
Max Hilbrunner
4f39d330cf
Merge pull request #19245 from swarnimarun/overwrite_fix
...
Fix overwrite of file/folder of same name without warning
2018-07-05 00:30:06 +02:00
Max Hilbrunner
dacd9c51b1
Merge pull request #19849 from willnationsdev/expose-script-create-dialog
...
Expose ScriptCreateDialog to EditorPlugin
2018-07-04 22:37:27 +02:00
toger5
8f5cd7076b
spin_slider: dont show grabber when editing value with keyboard
2018-07-04 22:04:30 +02:00
toger5
7363be2575
better tab support for property editor
2018-07-04 22:04:30 +02:00
toger5
1706f636d7
spin_slider added ctrl and shift shrotcuts, removed exp dragging
2018-07-04 22:02:34 +02:00
willnationsdev
2a6c591957
Expose ScriptCreateDialog to EditorPlugin
2018-07-04 09:41:12 -05:00
Max Hilbrunner
858d0b6887
Merge pull request #19941 from guilhermefelipecgs/fix_animation_key
...
Fix animation key icon not show on inspector
2018-07-04 15:18:43 +02:00
Rémi Verschelde
db546732cf
Merge pull request #19824 from JFonS/fix_orthogonal_select
...
Fix selection in 3D orthogonal view
2018-07-04 15:06:46 +02:00
Rémi Verschelde
db97731932
Merge pull request #19882 from khairul169/trackedit_playposition
...
Hide play position in animation editor if no animation node is selected
2018-07-04 15:03:39 +02:00
Guilherme Felipe
63d1b35c59
Fix animaiton key icon not show on inspector
2018-07-03 17:26:31 -03:00
Max Hilbrunner
0bcc46d524
Merge pull request #19938 from Chaosus/fix_regression
...
[Regression] Fixed editor bad responsibility after #19244
2018-07-03 20:07:07 +02:00
Chaosus
a28494c962
Fix button regression
2018-07-03 20:44:18 +03:00
Max Hilbrunner
8cbe2105f5
Merge pull request #19816 from leecommamichael/survive-null-scene-root-from-plugin
...
Survive editor crash if a plugin scene's root is null.
2018-07-03 18:57:27 +02:00
Max Hilbrunner
82a2d2df3e
Merge pull request #19873 from volzhs/show-scene-file
...
Show current scene file in FileSystem dock
2018-07-03 18:46:23 +02:00
Max Hilbrunner
27b20e7670
Merge pull request #19881 from khairul169/popupmenu_animedit
...
Fix error msg when selecting popupmenu if there is no animation selected
2018-07-03 18:44:48 +02:00
Max Hilbrunner
af4d7c4f6d
Merge pull request #19920 from guilhermefelipecgs/group_dialog_resizable
...
Makes the group dialog resizable
2018-07-03 18:40:19 +02:00
Max Hilbrunner
cb5097a217
Merge pull request #16265 from nanoframe/export_issue_fix
...
Fix error when downloading export templates
2018-07-03 18:38:00 +02:00
Max Hilbrunner
dce4bf96cc
Merge pull request #17582 from Ovnuniarchos/TMapEditorMultiSel
...
Tile randomizer for tilemap editor.
2018-07-03 18:30:02 +02:00
Benjamin
4cd69e91fc
Update resource file project settings on rename
2018-07-03 18:08:41 +02:00
Max Hilbrunner
b21c1f64cd
Merge pull request #18634 from groud/fix_control_child_of_node2d
...
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-03 18:06:15 +02:00
Max Hilbrunner
165f3c31a5
Merge pull request #19166 from Grula/issue-18779
...
Changed "Syntax Menu" into radio Menu
2018-07-03 17:39:17 +02:00
Max Hilbrunner
deb005c966
Merge pull request #19156 from volzhs/fix-remove-split
...
Fix unable to remove split on Polygon 2D editor after restarting editor
2018-07-03 17:37:01 +02:00
Max Hilbrunner
fb838bf1b4
Merge pull request #19192 from marcelofg55/undo_redo_msg
...
Add a message when there is nothing to Undo or Redo
2018-07-03 17:32:16 +02:00
Max Hilbrunner
24ce1ace13
Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferred
...
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03 17:01:23 +02:00
Max Hilbrunner
0705eb904a
Merge pull request #19251 from YeldhamDev/script_templates_changes
...
Small changes to the comments in the script templates
2018-07-03 16:48:03 +02:00
Max Hilbrunner
9e5b2ce99e
Merge pull request #18305 from groud/inputmap_gui
...
Move the deadzone to a column in the input project settings
2018-07-03 16:35:20 +02:00
Juan Linietsky
e179bf0726
Ensure, if a texture meant for a normal map is imported and size limit exists, that it's renormalized after resize.
2018-07-03 10:56:31 -03:00
Max Hilbrunner
74369229de
Merge pull request #19634 from guilhermefelipecgs/fix_shortcut_conflict
...
Remove shortcut conflict
2018-07-03 15:47:48 +02:00
Max Hilbrunner
beefe98974
Merge pull request #19635 from bojidar-bg/19158-exported-array-new-inspector
...
Add proper type information to array property
2018-07-03 15:47:02 +02:00
Max Hilbrunner
065d209f12
Merge pull request #19639 from volzhs/rescan-file-moved
...
Re-scan only when actually moving file
2018-07-03 15:35:14 +02:00
khairul169
0f616ff5d8
Hide play position if animation node is invalid
2018-07-03 13:24:47 +07:00
Guilherme Felipe
8c37df17ac
Makes the group dialog resizable
2018-07-02 16:32:53 -03:00
Juan Linietsky
c02d8be59d
further fixes to tag detection on importer
2018-07-02 05:54:58 -03:00
Juan Linietsky
beebd0b9de
Add a condition to detect duplicates objects, so cases like object-col.323, common in blender, is still detected as collision.
2018-07-02 02:02:32 -03:00
Juan Linietsky
896e250f2b
-Fix in animationplayback, sound would be cut on loop
...
-Fix on scene importer, keeping changes to animation tracks was not working
2018-07-01 17:45:19 -03:00
Ovnuniarchos
d9d78786dc
Tile randomizer for tilemap editor.
2018-07-01 20:50:56 +02:00
Ibrahn Sahir
e1b14db86a
Corrected art depo link in editor icons readme.
2018-07-01 13:51:04 +01:00
muiroc
0a36e974da
added cylinder shape support
2018-07-01 11:16:54 +02:00
khairul169
0a67aa5ce4
Fix error msg when selecting popupmenu if there is no animation
2018-07-01 15:38:42 +07:00
volzhs
a9acb95ef4
Show current scene file in FileSystem dock
2018-07-01 11:47:34 +09:00
Juan Linietsky
b3627e29f0
-Fixes to OBJ importer, option to disable optimization
...
-Fixes to script language, PlaceHolder can now get and check methods
2018-06-30 19:59:16 -03:00
Michael Alexsander Silva Dias
02181292b8
Minor changes to the AnimationPlayer editor.
2018-06-30 00:12:05 -03:00
Rémi Verschelde
5d7f9f804a
Revert "Fix saving unmodified scenes and resources"
...
This reverts commits 28ab60422d
and 7821b70a00
.
Fixes #19576 , and likely the fact that subresources are no
longer saved when saving scenes with no change.
2018-06-29 08:38:49 +02:00
JFonS
e245efaead
Fix selection in 3D orthogonal view
2018-06-28 14:59:39 +02:00
Michael Lee
2adfdbe184
Preventing an editor crash in the event that a plugin scene's root-node is null.
2018-06-28 00:18:53 -05:00
Juan Linietsky
eeab3502d5
Changes to how node paths are selected from property, allowing setting a hint.
2018-06-27 20:50:25 -03:00
Juan Linietsky
9bab5134cf
The way multiple quaternions being slerped was not good, changed approach to one that seems to work better.
2018-06-27 16:30:48 -03:00
Juan Linietsky
c633b770cb
-Add root motion support in AnimationTree.
...
-Add RootMotionView, to debug root motion in 3D (disabled in runtime)
2018-06-26 19:06:16 -03:00
Rémi Verschelde
f036353b93
Merge pull request #19164 from marcelofg55/tilemap_undo2
...
Improve TileMap undo operations, second try
2018-06-26 20:57:39 +02:00
Juan Linietsky
8c7da84e1e
renamed AnimationGraphPlayer to AnimationTree
2018-06-25 18:40:24 -03:00
Thomas Herzog
0f7c35f955
added BlendSpace1D editor plugin
...
This commit also fixes a crash in the BlendSpace2D as well as correct
the drawing of the x-zero indicator in the BlendSpace2D editor plugin.
2018-06-25 21:46:12 +02:00
Thomas Herzog
84252f2ec4
added AnimationBlendSpace1D
2018-06-25 21:36:53 +02:00
Thomas Herzog
1ff7aa4c9b
rename BlendSpace to BlendSpace2D
2018-06-25 21:36:10 +02:00
Juan Linietsky
4f5a7ebaec
State machine animation node
2018-06-25 16:22:41 -03:00
George Marques
c45a8a574a
Remove extra addition to tree of editor autoloads
...
Fix #19675
2018-06-25 13:07:14 -03:00
Rémi Verschelde
0954c8f017
Merge pull request #19744 from marcelofg55/profiler_clear
...
Add a Clear button to the profiler
2018-06-25 17:01:46 +02:00
Rémi Verschelde
baf85f299c
Merge pull request #19728 from Chaosus/theme_strings
...
Changed themes presets to String format
2018-06-25 16:39:23 +02:00
Rémi Verschelde
4e867a1d7a
Merge pull request #19698 from Chaosus/theme_submenu
...
Move Theme options to submenu
2018-06-25 16:24:39 +02:00
Juan Linietsky
ad4666f8e0
Merge pull request #19193 from tagcup/quat_norm
...
Fixed Basis -> Quat conversions, added a few safety checks.
2018-06-25 10:58:04 -03:00
Răzvan C. Rădulescu
e8315f306c
Rename 'Discard Instancing' to 'Make Local'
...
Rename the option in the right click menu in the Scene nodes
because Discard Instancing is confusing (it could imply deleting the
instance). I renamed it to Make Local which is used for example in
Blender as well when talking about appending assets from other files.
I think it's clearer. Or it can be renamed to Make Instance Local, but I
thought it's a bit oo long so I went just with Make Local as this option
appears in the menu only when the node is an instance anyway.
2018-06-25 15:54:05 +02:00
Marcelo Fernandez
9634e3586c
Add a Clear button to the profiler
2018-06-23 22:15:10 -03:00
Chaosus
f29f7bf0e7
Changed themes presets to String format
2018-06-23 18:38:01 +03:00
Rémi Verschelde
80f7eacf88
i18n: Sync translations with Weblate
...
(cherry picked from commit d04cc2855a
)
2018-06-22 11:42:21 +02:00
Rémi Verschelde
8bf5b50222
Merge pull request #19695 from rraallvv/nocache_gen_master
...
Add NoCache wrapper to Command (master)
2018-06-22 09:44:45 +02:00
volzhs
b4f60ae3ac
Fix crash when assigning a node on editing animation key
2018-06-22 14:48:49 +09:00
Nathan Harrell
6831bc422b
Add ability to import projects via ZIP archive.
2018-06-22 00:55:16 -04:00
Juan Linietsky
2365fe472b
Added auto triangle generation in blend space, using Delaunay.
2018-06-21 22:48:47 -03:00
Juan Linietsky
b76143bfde
Remove error messages
2018-06-21 18:46:17 -03:00
Juan Linietsky
b80946ee0d
Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key
2018-06-21 18:08:11 -03:00
Juan Linietsky
a0719533bd
Animation Blend Spaces
2018-06-21 15:46:11 -03:00
Chaosus
7a18b95906
Move Theme options to submenu
2018-06-21 12:10:43 +03:00
Rhody Lugo
920224a535
add NoCache wrapper to Command
2018-06-21 03:00:33 -04:00
Rodolfo Ribeiro Gomes
01b01209a3
fix default glTF metallic & roughness factor values
...
The glTF 2.0 spec says that these pbrMetallicRoughness material
properties should be set as 1.0 by default.
In fact, KhronosGroup's official Blender Exporter does not even write
down those parameters if they are set as 1.0.
However, Godot import them as 0.0.
https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#pbrmetallicroughness
Fixes : #19613 https://github.com/godotengine/godot/issues/19613
2018-06-21 00:00:58 -03:00
Marcelo Fernandez
34045051d2
Fix profiler not updating on realtime
2018-06-19 21:42:29 -03:00
Juan Linietsky
0a1c1c660f
-Added AnimationGraphPlayer (still missing features)
...
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-18 22:12:08 -03:00
volzhs
9501acaee6
Re-scan only when actually moving file
2018-06-19 07:43:16 +09:00
George Marques
5c5aafabec
Merge pull request #19632 from vnen/fix-editor-autoload-register
...
Fix order to register autoloads in-editor
2018-06-18 18:52:09 -03:00
Bojidar Marinov
8ecef3496c
Add proper type information to array property
...
Part of #19158
2018-06-18 22:24:31 +03:00
Guilherme Felipe
7c52824504
Remove shortcut conflict
2018-06-18 16:24:01 -03:00
Guilherme Felipe
b75ad7b6b0
Prevent animation player crash
2018-06-18 15:57:15 -03:00
George Marques
e1338ac0eb
Fix order to register autoloads in-editor
2018-06-18 15:52:46 -03:00
Rémi Verschelde
1d2ed8885d
Merge pull request #19573 from guilhermefelipecgs/fix_animation_preview
...
[AnimationPlayer] Fix preview for both AnimatedSprite (2D and 3D)
2018-06-18 15:11:06 +02:00
Bojidar Marinov
7b107cb180
Fix bug in animationplayer editor not using subproperties properly
...
Fixes #19448
2018-06-18 15:59:13 +03:00
Rémi Verschelde
4c41f6c2ad
Merge pull request #19568 from guilhermefelipecgs/fix_editor_def
...
Fix path typo for editor def capitalize_properties
2018-06-15 17:11:46 +02:00
Guilherme Felipe
3511a7ac7e
Fix path typo for editor def capitalize_properties
2018-06-15 11:51:09 -03:00
Rémi Verschelde
d4bdbbc7d4
Merge pull request #19553 from guilhermefelipecgs/fix_solarized_theme
...
Small improvement to solarized theme
2018-06-15 10:46:48 +02:00
Rémi Verschelde
f2cd1e0c15
Merge pull request #19544 from RandomShaper/gltf-shapes-names
...
Import morph target names from glTF
2018-06-15 09:33:44 +02:00
Guilherme Felipe
c75e7f4848
[AnimationPlayer] Fix preview for both AnimatedSprite (2D and 3D)
2018-06-14 19:34:16 -03:00
letheed
90c5f60f1d
Tweak adaptative guideline and completion_background color
2018-06-15 00:31:43 +02:00
Guilherme Felipe
a63683e312
Small improvement to solarized theme
2018-06-14 09:07:40 -03:00
Pedro J. Estébanez
4810eae03b
Import morph target names from glTF
...
If mesh.extras.targetNames is available. Keep the former naming pattern as fallback.
2018-06-14 00:25:22 +02:00
Rémi Verschelde
e5e23c7ebf
Fix invalid DEFVAL in SpatialEditorGizmo::add_unscaled_billboard
...
Likely added by mistake in #19487 .
Should fix #19543 .
2018-06-13 22:29:54 +02:00
Paulb23
08c036b706
Removed duplicate default colours and removed GDScriptHighligher colours from main editor.
2018-06-13 18:25:02 +01:00
Paulb23
8f7e791ab6
Theme saving no longer hard coded
2018-06-13 18:21:44 +01:00
Guilherme Felipe
5bae3693bf
Fix "find and replace" initializing with wrong size
...
Fix the code editor outside the allowed limits.
2018-06-13 14:08:04 -03:00
Rémi Verschelde
8efbe9ed3d
Merge pull request #19487 from JFonS/better_3d_select
...
Improve 3D selection
2018-06-13 18:49:35 +02:00
JFonS
9cd1c20f6a
Polished 3D selection
2018-06-13 17:52:37 +02:00
Rémi Verschelde
44050cd24f
Merge pull request #19503 from akien-mga/osx-ctrl-cmd
...
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
2018-06-13 15:43:54 +02:00
Rémi Verschelde
7bb6b39c10
Merge pull request #19514 from Chaosus/solarized_themes
...
Added Solarized Dark and Light themes
2018-06-13 15:17:43 +02:00
Rémi Verschelde
9c2de8ae2d
Merge pull request #19516 from groud/fix_crash_on_hover
...
Fixes a crash on draw_hover
2018-06-13 15:10:24 +02:00
Chaosus
e1abb84524
Added Solarized Dark and Light themes
2018-06-13 16:05:04 +03:00
Rémi Verschelde
9165e550f8
Style fixes for commit d5bb6faa
2018-06-13 14:42:55 +02:00
Rémi Verschelde
f0fa590210
Merge pull request #19526 from robojumper/fix_tutorials
...
Add support for tutorial links to makerst.py
2018-06-13 14:29:45 +02:00
steincodes
8ae652bd59
Fix for overwriting files and folders on move
2018-06-12 21:54:43 +05:30
robojumper
98b59cf2a3
Add support for tutorial links to makerst.py
...
Also change the <tutorials> structure to make use of individual <link> tags
2018-06-12 17:40:24 +02:00
groud
71cea6b515
Fixes a crash on draw_hover
2018-06-12 11:01:24 +02:00
Juan Linietsky
d5bb6faac7
-Make sure that ProjectSettings are properly dumped when dumping docs.
...
-Documented all properties of project settings
Update documentation for ProjectSettings
2018-06-11 13:41:16 -03:00
Rémi Verschelde
3f09cac267
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
...
KEY_MASK_CMD is automatically replaced by KEY_MASK_CTRL on non-OSX
and KEY_MASK_META (Command key) on OSX, so it should be used for all
Ctrl/Cmd + key shortcuts.
Also de-hacked the macOS shortcut replacements with proper conditional
definition. Not tested on macOS, cannot judge if they are good shortcuts.
Fixes #10761 .
2018-06-11 07:53:28 +02:00