summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
AgeCommit message (Collapse)Author
2022-10-10Fix node name casing issueskobewi
Co-authored-by: ryburnj <jordanryburn@gmail.com>
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Expose and warn about Node Filters in Scene Tree DockMicky
Adds "Filter by Type" and "Filter by Group" in the Scene Tree Dock's MenuButton. Hovering on them displays an useful tooltip. When selecting these items, the matching parameter is appended to the terms, and the caret is automatically brought to the end. When typing a filter that cannot be identified, a warning icon is displayed. The reason is explained as a tooltip. The same options are also quickly available by right-clicking or middle-clicking in the text field.
2022-09-21Tree recursive foldingNinni Pipping
2022-09-19Merge pull request #65134 from Mickeon/editor-unique-name-toggleRémi Verschelde
Make "Access as Unique Name" a shortcut
2022-09-19Make "Access as Unique Name" a shortcutMicky
The shortcut's name is "scene_tree/toggle_unique_name", not mapped to anything by default. It also dynamically changes the text based on whether or not the unique name is going to be enabled or disabled. Finally, it spaces the shortcut in the menu close to "Copy Node Path" if possible.
2022-09-18Merge pull request #44143 from KoBeWi/callable_multiplayerRémi Verschelde
2022-09-18Port remaining connections to callable_mpTomasz Chabora
2022-09-18Fix inconsistent scene file name casing by moving existing Name_Casing code ↵ryburnj
to separate function in editor_node, and adding a call from both editor_node and scene_tree_dock.
2022-09-08Fix undo actions in SceneTreeDockkobewi
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-03Remove pathed get_node() use from scene tree dockkobewi
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Merge pull request #65066 from aaronfranke/str-path-joinRémi Verschelde
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29`SceneTreeDock` Toggling unique name in owner for all selected nodeskleonc
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-22Add per-scene UndoRedokobewi
2022-08-20Changed the title of change node type dialogUmang Kalra
2022-08-18Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg
menu for editor.
2022-07-29Swap arguments of ResourceSaver.save()kobewi
2022-07-29Merge pull request #63603 from aaronfranke/editor-pathsRémi Verschelde
Move editor paths into the EditorPaths class
2022-07-29Merge pull request #43081 from KoBeWi/property_keeperRémi Verschelde
Keep property values when extending script
2022-07-29Move editor paths into the EditorPaths classAaron Franke
2022-07-29Keep property values when extending scriptTomasz Chabora
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-26fix unmarked unique when make localSilc Renew
Co-authored-by: Juan Linietsky reduzio@gmail.com
2022-07-21Fix node dragging not working when dock is movedkobewi
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-13Merge pull request #62827 from fire-forge/ok-cancelRémi Verschelde
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-09Seperate filter and description in FileDialog.add_filter()FireForge
2022-07-09Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge
2022-06-23Merge pull request #61966 from Rindbee/fix-internal-nodes-ownedRémi Verschelde
Fix setting owner on internal nodes when save branch as scene
2022-06-15Expose PopupMenu set/get_item_horizontal_offset()FireForge
- Renames setter from set_item_h_offset() - Adds getter
2022-06-12Fix setting owner on internal nodes when save brach as sceneRindbee
2022-06-10Don't handle pending clicks outside scene treekobewi
2022-05-28Use consistent casing in editor filter/search barsFireForge
2022-05-23Merge pull request #61162 from KoBeWi/drag_nodes_like_a_bossRémi Verschelde
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-18Only switch to node when not dragging itkobewi
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-06Cleanup metadata usagekobewi
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-25Implement Scene Unique Nodesreduz
Implements https://github.com/godotengine/godot-proposals/issues/4096 * Nodes can be marked unique to the scene in the editor (or via code). * Unique nodes can be accessed via the **%** prefix at any point in the path. From that point in the path (depending on whether the scene of the path is), the unique node will be fetched. * Implementation is very optimal, as these nodes are cached.
2022-04-20Fix more issues found by cppcheck.bruvzg
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.