Commit Graph

3174 Commits

Author SHA1 Message Date
Rémi Verschelde ad47ec3952
Merge pull request #23000 from voithos/move-autoload
Update autoload references when moving files.
2018-10-18 08:40:18 +02:00
Rémi Verschelde 0d8284d3d4
Merge pull request #23037 from SeleckyErik/issue-23036
Hide header and footer in AssetLib when not necessary
2018-10-17 16:13:44 +02:00
Rémi Verschelde b1cd673e18
Merge pull request #23074 from voithos/tooltips
Add tooltip to skeleton menu button.
2018-10-17 14:41:11 +02:00
Zaven Muradyan b58c46fc9c Add tooltip to skeleton menu button.
Fixes #23008.
2018-10-17 00:53:29 -07:00
Zaven Muradyan ee74c7808b Update autoload references when moving files.
Prior to this, file references in autoload were not updated when a
script was moved or renamed. This adds extra logic to update the
autoload references when updating project settings.

Fixes #22995.
2018-10-16 18:57:21 -07:00
Michael Alexsander Silva Dias fc376d3db6 Switch unoptimized handlers from spatial editor viewport to optimized ones 2018-10-16 18:08:01 -03:00
Rémi Verschelde 0dbe01483a
Merge pull request #22918 from DualMatrix/node_as_root_2
Fixed setting node as root showing error and making invisible children visible.
2018-10-16 15:21:46 +02:00
Rémi Verschelde 49aa1be9b6
Merge pull request #22738 from akerudesu/script_comments
Improve toggle comment function in script editor
2018-10-16 15:07:07 +02:00
Rémi Verschelde 5d4a073e98
Merge pull request #22885 from neikeq/issue-22122
Hide numeric value for constants in EditorPropertyEnum
2018-10-16 15:01:03 +02:00
Rémi Verschelde 48d3d15e93
Merge pull request #23016 from QbieShay/fix_visibility_toggle
Fixed visibility toggle with node selection
2018-10-16 14:34:22 +02:00
DualMatrix eac36a0651 Fixed setting node as root showing error and making invisible children visible.
Fixed setting node as root showing error and making invisible children visible.
2018-10-16 14:17:16 +02:00
Ignacio Etcheverry 57f46f7fcd Fix enum values in the editor and hide enum numeric values in the Inspector
- Hide numeric value of enum constants in the inspector (EditorPropertyEnum)
- EditorPropertyEnum, CustomPropertyEditor: Calculate values of enum constants correctly when only some of these constants have explicit values.
2018-10-15 23:48:54 +02:00
Erik cd759c773d Hide header and footer in AssetLib when not necessary
Reduces visual clutter by hiding pages navigator header and footer in AssetLib if no results are
found or when results fit on one page one page.

Fix for issue #23036
2018-10-15 19:26:57 +02:00
QbieShay 9de3924fea fixed visibility toggle with node selection
before this PR toggling visibility of not selected nodes would toggle
the visibility of the whole selection.
This PR changes this behaviour, so if visibility is toggled on a node
that it is not selected, the visibility toggle will happen only on this
node.
No changes to the behaviour of when one of the selected nodes has
visibility toggled: they still toggle all together
2018-10-14 19:33:34 +02:00
Paulb23 d47b20acae Fixed delete line being off by one, issue 22819 2018-10-13 18:30:23 +01:00
Rémi Verschelde 43c28681ad
Merge pull request #22939 from merumelu/tileset-add-texture-fix
TileSetEditor: Don't crash when adding invalid files
2018-10-12 12:09:54 +02:00
Rémi Verschelde 451e5fd051
Merge pull request #22915 from fire/visuals-shader-colour-constant-22906
Fix for Visual Shader Editor #22906: Cannot change color on Color Con…
2018-10-11 17:59:35 +02:00
merumelu 27596f6031 TileSetEditor: Don't crash when adding invalid files 2018-10-11 17:15:01 +02:00
groud f236507689 Fixes resources name not showing in the inspector 2018-10-11 11:23:48 +02:00
K. S. Ernest (iFire) Lee 6097a5af14 Fix for Visual Shader Editor #22906: Cannot change color on Color Constant
Revert line from 5f2f108908
2018-10-10 13:20:57 -07:00
Unknown c3d40e42ce Improve toggle comment function in script editor. 2018-10-09 19:39:45 +02:00
Hugo Locurcio f7848f234f
Improve the editor's Find in Files function
- Disable Whole Words and Match Case by default
- Hide the Cancel button once the search is completed
- Pad line numbers to the right for more readable search results
2018-10-09 00:00:51 +02:00
Rémi Verschelde 604810f611
Merge pull request #22771 from guilhermefelipecgs/fix_inspector_preview
Fix inspector preview
2018-10-07 16:31:57 +02:00
Juan Linietsky e0871b0f52 Baker fixes 2018-10-07 11:18:44 -03:00
Guilherme Felipe a9ec69663f Fix inspector preview
Remove script preview to inspector dock
2018-10-07 10:41:56 -03:00
Rémi Verschelde c5da418b0b
Merge pull request #22698 from Calinou/fix-find-files-hidpi
Fix Find in Files font size on hiDPI displays
2018-10-07 11:43:39 +02:00
Rémi Verschelde 7aa580a84e
Merge pull request #22700 from Calinou/increase-itemlist-popupmenu-spacing
Increase spacing slightly between ItemList and PopupMenu items
2018-10-07 11:43:17 +02:00
Rémi Verschelde d4108573bf
Merge pull request #22705 from DualMatrix/debugging_the_debugger_grand_finale
Cleaned up/Fixed some bugs in the remote inspector code.
2018-10-07 11:42:37 +02:00
Rémi Verschelde 32ee3bf092 Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"
This reverts commit 2ae2735a7a.

It also closes panels like the shader text editor when trying to
discard code completion tooltips. It could be readded with extra
care that modals like tooltips will take precedence and mark the
event as handled.

Fixes #17159, fixes #20738, closes #22727.
2018-10-07 11:10:13 +02:00
Rémi Verschelde bf6dcb9105
Merge pull request #22722 from akien-mga/fix-warnings
Fix more "may be used initialized" warnings from GCC 7
2018-10-07 11:07:13 +02:00
Rémi Verschelde eae742312f
Merge pull request #22770 from Chaosus/fix_inspector_theme
Fix inspector color when theme changed
2018-10-07 11:02:59 +02:00
Rémi Verschelde 44d82b3a07
Merge pull request #22752 from aaronfranke/equals-redundant
Remove redundant "== true" and "== false" code
2018-10-07 10:58:45 +02:00
Hugo Locurcio 1a2f6cfcb5
Make the 3D viewport menu button easier to read
This closes #22809.
2018-10-06 23:00:33 +02:00
Aaron Franke 4f7b33cdcf Remove redundant "== false" code
Some of this code has been re-organized.
f
2018-10-06 16:20:41 -04:00
Aaron Franke 37386f112b Remove redundant "== true" code
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06 16:12:36 -04:00
Juan Linietsky f12cb82e0f Fixes to baker, restored xatlas and fixed bake options. 2018-10-05 19:00:32 -03:00
Rémi Verschelde a41cf404a9
Merge pull request #22750 from williamd1k0/improve-resource-preloader
Improve ResourcePreloader editor plugin
2018-10-05 22:00:04 +02:00
Hugo Locurcio 7063878243
Fix Find in Files font size on hiDPI displays
This closes #22692.
2018-10-05 21:37:26 +02:00
Chaosus cd05ca4247 Fix inspector color when theme changed 2018-10-05 21:37:26 +03:00
William Tumeo af10067727 Improve ResourcePreloader editor plugin
Fix #22724 by adding an Open Resource button
Add a Remove button to each tree item
Remove the old Remove button and its useless code
Adjust columns min width
Remove Resource names and move icons to the left
Add a Resource icon fallback
2018-10-05 14:59:10 -03:00
qonnop 07d65204b4 Added noise texture icon, fixes #22704 2018-10-05 19:20:18 +02:00
Hugo Locurcio 4623bbbbe3
Increase spacing slightly between ItemList and PopupMenu items 2018-10-05 17:37:39 +02:00
Rémi Verschelde 88935d47a8
Merge pull request #22623 from dualtagh/22586
22586: Dragging file icon on to another file causes "Error Moving" in FileSystem dock
2018-10-05 10:58:55 +02:00
Rémi Verschelde 0173cf6402
Merge pull request #22732 from DualMatrix/deselect
Deselect recents when selecting favorites and vice versa in Create Node window.
2018-10-05 08:50:44 +02:00
DualMatrix 9b3c1f617f Deselect recents when selecting favorites and vice versa in Create Node.
Deselect recents when selecting favorites and vice versa in Create Node.
2018-10-04 22:31:48 +02:00
Dualtagh Murray fc0ae1d94d 22586: Dragging file icon on to another file causes "Error Moving" in FileSystem dock 2018-10-04 20:38:36 +01:00
Rémi Verschelde 3e9740ac93 Fix more "may be used initialized" warnings from GCC 7
Fixes the following GCC 7 warnings:
```
core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized]
servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-10-04 18:54:20 +02:00
Rémi Verschelde 8068d0217a
Merge pull request #22715 from groud/fix_tilemap_editor
Fixes tilemap editor offset tile selection
2018-10-04 18:20:29 +02:00
Simon Wenner 10718b0961 Fix some cppcheck errors
cppcheck: fix broken pre-processor statement
cppcheck: fix Uninitialized struct members in canvas editor plugin
cppcheck: fix uninitialized struct member: method_api.is_virtual
2018-10-04 18:16:04 +02:00
DualMatrix c4ac2707dc Cleaned up/Fixed some bugs in the remote inspector code.
Cleaned up/Fixed some bugs in the remote inspector code.

This makes some of my previous code cleaner while resolving a bunch of bugs.
2018-10-04 15:13:44 +02:00