summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
AgeCommit message (Collapse)Author
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.
2022-03-30Cleanup EditorNode and EditorDataHendrik Brucker
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-03-28Add property name style toggle to InspectorHaoyu Qiu
2022-03-18Removed extra separator in absence of ChangeType and RenameVitika9
2022-03-12Initialize bools in the headers in editorAaron Franke
2022-03-12Allow negative indexes in ItemList and PopupMenukobewi
2022-03-06Remove duplicate editor settings definitionskobewi
2022-02-16Convert _notification methods to switch - Chunk CJakob Bouchard
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-14Remove most EditorNode constructor parameters and fieldstrollodel
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-09Implement drawing and editing all anim beziersFrancois Belair
* Move bezier edit from track to button in toolbar * Draw, edit all bezier curves simultaneously * Add click on curve to select tracks * Tie track editor's filter view to bezier editor * Implement visibility and locking * Fix editor spacing issues * Fix track buttons spacing * Add keyframe focus and (de)select all key handling
2022-02-08Merge pull request #56923 from fire-forge/fix-create-root-node-scrollingRémi Verschelde
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-03Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière
get_viewport()->gui_get_focus_owner()
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-01-27Improve 2D editor's right-click menukobewi
2022-01-20Merge pull request #55066 from trollodel/less_singletons_in_editornodeRémi Verschelde
2022-01-20Merge pull request #52134 from RandomShaper/fix_namingRémi Verschelde
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-20Rename Variant::is_ref() to is_ref_counted()Pedro J. Estébanez
2022-01-20Make Scene dock menu button an actual `MenuButton`Michael Alexsander
2022-01-19Fix Create Root Node dialog expanding in favorites tabfire540
2022-01-18Improve node pastingkobewi
2022-01-18Merge pull request #55809 from cdemirer/fix-reparenting-inherited-nodesRémi Verschelde
2022-01-18Editor: Disallow reparenting inherited nodescdemirer
2022-01-13Merge pull request #55569 from KoBeWi/expand_all_was_a_mistakeRémi Verschelde
2022-01-07Fix some more wrong node nameskobewi
2022-01-06Prevent saving branches in foreign scenesSaracenOne
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-23Move and rename Collapse/Expand All buttonkobewi
2021-12-21Merge pull request #55761 from KoBeWi/alt_hackRémi Verschelde
2021-12-13Allow to copy foreign nodeskobewi
2021-12-11Stop asuming a default value of NIL means there's no defaultPedro J. Estébanez
2021-12-09Add drag and drop for NodePathskobewi
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-03Add `New Shader` option to the FileSystemDock popup menu.Yuri Roubinsky
2021-12-01Fix editor crash when expanding/collapsing empty scene treeAndreas Raddau
2021-11-29Fix scene tree dock icon not switching colors on theme changeHugo Locurcio
This fixes the "three vertical dots" button at the right of the scene tree dock when switching from a dark theme to a light theme or vice versa.
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
2021-11-12Use "enum class" for input enumsAaron Franke