godot/editor
Robbie Cooper 907ba0d8f2 Have the Rename Node action use the targeted Node to determine the current undo/redo context
Formerly, we deduced context implicitly, but this failed and always used the global context instead of the context of the scene containing the Node.

This happened because the first argument to `add_do_method`, the SceneTreeEditor, is a descendant of Node and outside the current game scene's tree (it's part of the editor instead). This led the code in `EditorUndoRedoManager::get_history_id_for_object` to choose global context.

My solution is to explicitly use the renamed Node to deduce our context because it will always be in the current scene in this situation.

Fixes #67276
2023-03-15 16:03:30 +01:00
..
debugger Make sure Script Debugger is updated with the editor theme 2023-03-10 18:16:00 +01:00
export Merge pull request #73365 from bruvzg/no_transient_children 2023-03-02 11:41:17 +01:00
fileserver One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
icons Add a custom icon for the project.godot file in the EditorFileDialog 2023-02-17 22:42:23 +01:00
import Fix a crash in the GLB importer 2023-02-27 17:24:03 +01:00
plugins Merge pull request #74660 from and-rad/shader-editor-trim-whitespace 2023-03-15 15:05:39 +01:00
translations i18n: Sync translations with Weblate 2023-03-15 02:31:09 +01:00
action_map_editor.cpp Merge pull request #71322 from EricEzaM/55856-proj-settings-initial-array-dict-shared-instance 2023-02-01 07:29:44 +01:00
action_map_editor.h Fix Project Settings array/dicts initial value being shared instances of the current value. 2023-01-13 21:48:43 +10:00
animation_bezier_editor.cpp Add gesture to ViewPanner and simplify a bit its API 2023-01-23 16:43:53 +01:00
animation_bezier_editor.h Add gesture to ViewPanner and simplify a bit its API 2023-01-23 16:43:53 +01:00
animation_track_editor.cpp Merge pull request #73195 from timothyqiu/weblate-comments 2023-02-17 09:55:39 +01:00
animation_track_editor.h Fix weird bezier edit button update timing in AnimationTrackEditor 2023-02-11 20:48:18 +09:00
animation_track_editor_plugins.cpp Fix display for no-length audio stream keys 2023-02-15 17:00:31 +09:00
animation_track_editor_plugins.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
audio_stream_preview.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
audio_stream_preview.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
code_editor.cpp Fix toggle comment not moving caret 2023-02-16 16:17:24 +02:00
code_editor.h Rework code editor multiline operations 2023-02-12 20:53:49 +02:00
connections_dialog.cpp Reload built in script to get its methods on signal connection 2023-03-06 16:20:30 +01:00
connections_dialog.h Improve Connect Dialog navigation 2023-02-06 22:56:41 +01:00
create_dialog.cpp Fix filtering editor nodes in Create Dialog 2023-01-27 12:26:26 +01:00
create_dialog.h Fix filtering editor nodes in Create Dialog 2023-01-27 12:26:26 +01:00
dependency_editor.cpp Add handling of script creation/deletion for custom visual shader nodes 2023-01-23 15:30:17 +03:00
dependency_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
doc_tools.cpp GDScript: Fix issues with typed arrays 2023-01-31 11:54:41 +02:00
doc_tools.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_about.cpp Fix UTF-8 encoding for copyright in About dialog 2023-01-08 16:15:26 +01:00
editor_about.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_asset_installer.cpp Removed unused property hints and Object::get_translatable_strings() 2023-01-09 16:56:01 +01:00
editor_asset_installer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_atlas_packer.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_atlas_packer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_audio_buses.cpp Improve logic related to editing audio buses (and prevent crashes) 2023-03-10 22:24:18 +01:00
editor_audio_buses.h Improve logic related to editing audio buses (and prevent crashes) 2023-03-10 22:24:18 +01:00
editor_autoload_settings.cpp Add some missing translatable editor strings 2023-02-10 16:55:50 +08:00
editor_autoload_settings.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_build_profile.cpp Remove path hard-coding in editor_build_profile 2023-02-19 20:58:36 +01:00
editor_build_profile.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_builders.py Prepare for moving editor and classref translations to godot-editor-l10n repo 2023-02-07 14:20:40 +01:00
editor_command_palette.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_command_palette.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_data.cpp Cleanup unused engine code v2 2023-01-19 13:02:18 +01:00
editor_data.h Merge pull request #57606 from SaracenOne/update_on_reimport 2023-01-23 15:35:44 +01:00
editor_dir_dialog.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_dir_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_feature_profile.cpp Clean-up, harmonize, and improve StyleBox API 2023-01-19 20:02:21 +03:00
editor_feature_profile.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_file_dialog.cpp Add some missing EditorFileDialog methods and properties. 2023-02-22 11:55:08 +02:00
editor_file_dialog.h Add some missing EditorFileDialog methods and properties. 2023-02-22 11:55:08 +02:00
editor_file_system.cpp Merge pull request #71850 from WesleyElliott/fix-custom-node-export 2023-02-18 12:40:09 +03:00
editor_file_system.h Use reimport_append api for importing embedded gltf images 2023-02-06 07:11:45 -08:00
editor_folding.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_folding.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_fonts.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_fonts.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_help.cpp Merge pull request #67707 from Cykyrios/hide-private-prop-description-in-classdoc 2023-02-14 11:03:50 +01:00
editor_help.h Make EditorHelp respect font size settings 2023-02-11 20:09:57 +01:00
editor_help_search.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_help_search.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_inspector.cpp Add missing TTRs in tiles editor and array inspector 2023-03-09 14:38:54 +08:00
editor_inspector.h Merge pull request #66121 from Zylann/plugin_handles_edit_object_argument 2023-02-17 15:19:12 +01:00
editor_layouts_dialog.cpp Improve editor layout dialog 2023-02-02 01:29:40 +01:00
editor_layouts_dialog.h Improve editor layout dialog 2023-02-02 01:29:40 +01:00
editor_locale_dialog.cpp Add some missing translatable editor strings 2023-02-10 16:55:50 +08:00
editor_locale_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_log.cpp Remove some unused signals 2023-01-31 18:54:04 +01:00
editor_log.h Remove some unused signals 2023-01-31 18:54:04 +01:00
editor_native_shader_source_visualizer.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_native_shader_source_visualizer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_node.cpp Merge pull request #74795 from KoBeWi/MassNodeEdit 2023-03-15 15:39:13 +01:00
editor_node.h Prevent cache corruption when saving resources in the editor 2023-03-08 19:46:55 +01:00
editor_path.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_path.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_paths.cpp Merge pull request #73429 from bruvzg/macos_no_sc 2023-03-07 08:36:51 +01:00
editor_paths.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_plugin.cpp Automatically reparent editor message dialogs to avoid error spam. 2023-02-21 12:32:11 +02:00
editor_plugin.h Change _can_handle and _edit virtual methods to take Object* 2023-02-17 14:10:38 +01:00
editor_plugin_settings.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_plugin_settings.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_properties.cpp clear filter input in Project Settings when opening Layers 2023-03-10 20:18:37 +08:00
editor_properties.h Use PropertyUsageFlags enum in parse_property 2023-01-31 23:31:15 +01:00
editor_properties_array_dict.cpp Merge pull request #71740 from Jummit/dict-array-missing-types 2023-02-11 22:04:02 +01:00
editor_properties_array_dict.h GDScript: Fix issues with typed arrays 2023-01-31 11:54:41 +02:00
editor_property_name_processor.cpp Add "Bbcode" -> "BBCode" editor capitalization 2023-03-14 17:47:36 +01:00
editor_property_name_processor.h Prepare for moving editor and classref translations to godot-editor-l10n repo 2023-02-07 14:20:40 +01:00
editor_quick_open.cpp Support script global resource name in EditorFileSystem 2023-01-21 14:19:27 +01:00
editor_quick_open.h Support script global resource name in EditorFileSystem 2023-01-21 14:19:27 +01:00
editor_resource_picker.cpp Fix crash when revealing file in floating FileSystem Dock 2023-03-08 22:06:25 +13:00
editor_resource_picker.h Implement a quick script inheritance check 2023-01-19 16:47:01 +01:00
editor_resource_preview.cpp Fix editor resource preview deadlocking with --headless mode 2023-02-23 20:57:19 +00:00
editor_resource_preview.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_run.cpp Fix the issue causing the Godot Android Editor to crash when returning from the launched and running game 2023-01-26 02:59:39 -08:00
editor_run.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_run_native.cpp Disable remote debug button if no remote debug preset found. 2023-01-18 09:59:51 +02:00
editor_run_native.h Move remote debug buttons to a single menu. 2023-01-14 22:25:35 +02:00
editor_run_script.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_run_script.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_scale.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_scale.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_sectioned_inspector.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_sectioned_inspector.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_settings.cpp Merge pull request #73651 from hakro/editor-freelook-physical-shortcuts 2023-03-03 11:02:53 +01:00
editor_settings.h Use physical shortcuts for freelook navigation in the editor 2023-02-21 10:56:14 +01:00
editor_settings_dialog.cpp Merge pull request #71379 from KoBeWi/destruction_of_compatibility_function 2023-01-18 17:40:13 +01:00
editor_settings_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_spin_slider.cpp Some code simplifications 2023-02-07 14:30:16 +01:00
editor_spin_slider.h Fix TAB key usage in EditorSpinSlider (and hence inpector). 2023-01-12 14:13:49 +01:00
editor_themes.cpp Generate empty textures for theme icons if the SVG module is disabled 2023-03-07 15:31:19 +01:00
editor_themes.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_title_bar.cpp [macOS] Move extended title bar input to _gui_input and add mouse filters to prevent editor buttons from passing double-click to title. 2023-01-20 12:47:05 +02:00
editor_title_bar.h [macOS] Move extended title bar input to _gui_input and add mouse filters to prevent editor buttons from passing double-click to title. 2023-01-20 12:47:05 +02:00
editor_toaster.cpp Stop toaster notification circle flickering when notifications are all hidden. 2023-02-27 02:33:49 +00:00
editor_toaster.h Limit toasts' width 2023-01-17 15:55:40 +01:00
editor_translation.cpp Prepare for moving editor and classref translations to godot-editor-l10n repo 2023-02-07 14:20:40 +01:00
editor_translation.h Prepare for moving editor and classref translations to godot-editor-l10n repo 2023-02-07 14:20:40 +01:00
editor_translation_parser.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_translation_parser.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_undo_redo_manager.cpp Fix EditorUndoRedoManager's handling of MERGE_ENDS 2023-03-06 10:40:45 +01:00
editor_undo_redo_manager.h Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
editor_vcs_interface.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_vcs_interface.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_zoom_widget.cpp Usability improvements to the Zoom Widget 2023-01-25 20:21:51 +01:00
editor_zoom_widget.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
event_listener_line_edit.cpp Add some missing translatable editor strings 2023-02-10 16:55:50 +08:00
event_listener_line_edit.h Propagate allowed input types to event_listener when setting them on InputEventConfigurationDialog 2023-01-10 23:26:33 +10:00
fbx_importer_manager.cpp FBX: Disable importer when canceling FBX2glTF setup 2023-03-03 13:53:03 +01:00
fbx_importer_manager.h FBX: Disable importer when canceling FBX2glTF setup 2023-03-03 13:53:03 +01:00
filesystem_dock.cpp Fix rightclick on some files changes the 'New' menu entry to 'Show in File Manager' due to no fixed index for the 'New' menu 2023-02-02 09:41:06 +01:00
filesystem_dock.h Fix rightclick on some files changes the 'New' menu entry to 'Show in File Manager' due to no fixed index for the 'New' menu 2023-02-02 09:41:06 +01:00
find_in_files.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
find_in_files.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
groups_editor.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
groups_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
history_dock.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
history_dock.h Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
import_defaults_editor.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
import_defaults_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
import_dock.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
import_dock.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
input_event_configuration_dialog.cpp Fix InputEventConfigurationDialog modifies original event 2023-03-13 15:03:35 +03:00
input_event_configuration_dialog.h Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
inspector_dock.cpp Fix corrupt undo after making sub-resources unique 2023-02-13 19:18:03 +01:00
inspector_dock.h Add Show in FileSystem option in the inspector 2023-01-08 23:25:13 +01:00
localization_editor.cpp Improve POT Generation dialog 2023-03-03 18:18:58 +08:00
localization_editor.h Improve POT Generation dialog 2023-03-03 18:18:58 +08:00
multi_node_edit.cpp Merge pull request #71345 from reduz/support-metadata-multi-node-edit 2023-01-21 11:28:59 +01:00
multi_node_edit.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
node_dock.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
node_dock.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
plugin_config_dialog.cpp Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
plugin_config_dialog.h Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
pot_generator.cpp Improve POT Generation dialog 2023-03-03 18:18:58 +08:00
pot_generator.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
progress_dialog.cpp Automatically reparent editor message dialogs to avoid error spam. 2023-02-21 12:32:11 +02:00
progress_dialog.h Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
project_converter_3_to_4.cpp Merge pull request #74624 from Maran23/converter-theme-overrides 2023-03-15 14:34:53 +01:00
project_converter_3_to_4.h Move tool declarations to top in 3to4. 2023-03-06 06:34:56 -05:00
project_manager.cpp Fix "Convert Full Project" button not translated 2023-03-02 16:19:30 +08:00
project_manager.h Add a custom icon for the project.godot file in the EditorFileDialog 2023-02-17 22:42:23 +01:00
project_settings_editor.cpp clear filter input in Project Settings when opening Layers 2023-03-10 20:18:37 +08:00
project_settings_editor.h clear filter input in Project Settings when opening Layers 2023-03-10 20:18:37 +08:00
property_selector.cpp Fix type icons in PropertySelector 2023-03-06 16:21:25 +01:00
property_selector.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_editor_types.cpp Document editor/naming/scene_name_casing setting 2023-03-09 21:17:49 +01:00
register_editor_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_exporters.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rename_dialog.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
rename_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
renames_map_3_to_4.cpp Add conversion for common Theme Overrides 2023-03-10 16:32:35 +01:00
renames_map_3_to_4.h Add conversion for common Theme Overrides 2023-03-10 16:32:35 +01:00
reparent_dialog.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
reparent_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_create_dialog.cpp Fix inconsistent state of Controls when editing and running scenes 2023-01-09 15:54:04 +03:00
scene_create_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_tree_dock.cpp Prevent wrong unedit when clicking editor viewport 2023-02-01 00:50:34 +01:00
scene_tree_dock.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_tree_editor.cpp Have the Rename Node action use the targeted Node to determine the current undo/redo context 2023-03-15 16:03:30 +01:00
scene_tree_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
script_create_dialog.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
script_create_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Prepare for moving editor and classref translations to godot-editor-l10n repo 2023-02-07 14:20:40 +01:00
shader_create_dialog.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shader_create_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shader_globals_editor.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
shader_globals_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
template_builders.py