summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
AgeCommit message (Collapse)Author
2019-01-22Forbid making root on inherited scenes, closes #24484Juan Linietsky
2019-01-17Add some checks to avoid disaster when making a node the scene root. Fixes ↵Juan Linietsky
#24484
2019-01-14Use SceneTreeDock to replace particles node properly, fixes #24162Juan Linietsky
2019-01-02Improved script attachment/removal a bitChaosus
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-10-29Hide "Attach Script" if node has onevolzhs
2018-10-29Merge pull request #23288 from willnationsdev/restore-clear-scriptRémi Verschelde
Restore ClearScript btn w/ ExtendScript RMB link
2018-10-26Fixes the editor layoutgroud
2018-10-25Restore ClearScript btn w/ ExtendScript RMB linkWill Nations
2018-10-25Merge pull request #23071 from bfhobbes/use_quickopen_for_instance_childRémi Verschelde
Use EditorQuickOpen dialog instead of EditorFileDialog when instancing a child scene.
2018-10-24Fixed user being unable to delete root Node if is an inherited SceneSilvano Cerza
User wasn't able to delete the root Node because it was being treated as a foreign Node since it was an inherited Scene
2018-10-19Add icon_script_extend & update the icon @runtimeWill Nations
2018-10-16Use EditorQuickOpen dialog instead of EditorFileDialog when instancing a ↵Andrew McDonald
child scene. Addresses the bulk of #5180
2018-10-16Fixed setting node as root showing error and making invisible children visible.DualMatrix
Fixed setting node as root showing error and making invisible children visible.
2018-10-04Fix more "may be used initialized" warnings from GCC 7Rémi Verschelde
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-04Fixing create spatial root buttonswarnimarun
2018-10-03Add a shortcut to the documentation in the scene tree RMB menugroud
2018-10-02Merge pull request #22009 from DualMatrix/warningRémi Verschelde
Added warning when disabling editable_instance
2018-10-02Merge pull request #22593 from akien-mga/fix-warningsRémi Verschelde
Fix various warnings raised by Clang 7
2018-10-01Merge pull request #22576 from DualMatrix/multi_edit_exitRémi Verschelde
Fixed inspector not going back to single-node when deselecting an item.
2018-10-01Merge pull request #22584 from DualMatrix/editor_path_no_updateRémi Verschelde
Fixed name of deleted node not dissapearing from inspector dock.
2018-10-01Fix various Clang 7 warnings about unused stuffRémi Verschelde
Namely: [-Wunneeded-internal-declaration] [-Wunused-comparison] [-Wunused-const-variable] [-Wunused-function] [-Wunused-private-fields] Fixes the following Clang 7 warnings: ``` editor/plugins/script_editor_plugin.cpp:1417:20: warning: function '_find_node_with_script' is not needed and will not be emitted [-Wunneeded-internal-declaration] editor/scene_tree_dock.cpp:1859:14: warning: function '_find_last_visible' is not needed and will not be emitted [-Wunneeded-internal-declaration] modules/gdscript/gdscript_parser.cpp:7838:19: warning: equality comparison result unused [-Wunused-comparison] scene/resources/mesh.cpp:549:35: warning: unused variable '_array_types' [-Wunused-const-variable] scene/resources/mesh.cpp:563:18: warning: unused variable '_format_translate' [-Wunused-const-variable] drivers/gles3/rasterizer_scene_gles3.cpp:54:28: warning: unused function 'store_transform2d' [-Wunused-function] core/io/file_access_network.h:50:6: warning: private field 'ml' is not used [-Wunused-private-field] core/io/file_access_zip.h:93:14: warning: private field 'archive' is not used [-Wunused-private-field] core/io/resource_format_binary.h:122:6: warning: private field 'bin_meta_idx' is not used [-Wunused-private-field] core/message_queue.h:47:9: warning: private field 'mutex' is not used [-Wunused-private-field] main/tests/test_gui.cpp:63:11: warning: private field 'control' is not used [-Wunused-private-field] modules/gdscript/gdscript_parser.h:558:7: warning: private field 'completion_static' is not used [-Wunused-private-field] platform/x11/os_x11.h:148:11: warning: private field 'ip_unix' is not used [-Wunused-private-field] platform/x11/os_x11.h:180:7: warning: private field 'net_wm_icon' is not used [-Wunused-private-field] platform/x11/os_x11.h:189:6: warning: private field 'audio_driver_index' is not used [-Wunused-private-field] platform/x11/os_x11.h:190:15: warning: private field 'capture_idle' is not used [-Wunused-private-field] servers/physics/body_pair_sw.h:79:6: warning: private field 'cc' is not used [-Wunused-private-field] servers/visual/visual_server_raster.h:62:7: warning: private field 'draw_extra_frame' is not used [-Wunused-private-field] ```
2018-10-01Fixed inspector not going back to single-node when deselecting an item.DualMatrix
Fixed inspector not going back to single-node when deselecting an item.
2018-10-01Fixed name of deleted node not dissapearing from inspector dock.DualMatrix
Fixed name of deleted node not dissapearing from inspector dock.
2018-09-30Fixed setting node as root deleting all non-children of that node.DualMatrix
Fixed setting node as root deleting all non-children of that node.
2018-09-20Change viewport type after using create root menuJFonS
Change viewport type (2D/3D) according to the type of node just created from the "Create Root Node" menu.
2018-09-19Fixed favorite nodes list not being savedDualMatrix
Fixed favorite nodes list not being saved
2018-09-17Added warning when disabling editable_instanceDualMatrix
Added warning when disabling editable_instance to prevent data loss.
2018-09-15Remove unnecessary "OK"s text settingsMichael Alexsander Silva Dias
2018-09-14Refactor editor icon retrievalwillnationsdev
2018-09-12Fix default script name in ScriptCreateDialogRémi Verschelde
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-07Prevent overwriting open scenes when savingDualMatrix
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-02Fix selection of instanced scenes in 3DJFonS
2018-08-28Fix making _editor_icon meta during CLEAR_SCRIPTWill Nations
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-14Add custom icons to script classes.Will Nations
2018-08-14Merge pull request #20484 from willnationsdev/create-favoritesRémi Verschelde
Add toggle for favorites in create_root_dialog
2018-08-14Merge pull request #20835 from Calinou/use-standard-button-texts-2Rémi Verschelde
Tweak some editor button texts
2018-08-11Do not use theme to set LineEdit right_iconŁukasz Rutkowski
2018-08-11Add clear text button to LineEditŁukasz Rutkowski
- 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-09Tweak some editor button textsHugo Locurcio
2018-08-08Add toggle for favorites in create_root_dialog.willnationsdev
2018-08-05Use a standard "OK" text for confirmation buttons in error dialogsHugo Locurcio
[ci skip]
2018-07-29Clear color was not correctly being set, fixes #4939Juan Linietsky
2018-07-29Merge pull request #15269 from ianb96/context_menu_improvementsJuan Linietsky
Context Menu Improvements
2018-07-26context menu improvementsIan
2018-07-25Add script hierarchies,add-script btn auto-derivesWill Nations
2018-07-24Merge pull request #19729 from razcore-art/rename-discard-instancingRémi Verschelde
Rename 'Discard Instancing' to 'Make Local'
2018-07-15New option, make any node the new scene root.Juan Linietsky
2018-07-15Small feature to help users understand the editor faster.Juan Linietsky