summaryrefslogtreecommitdiffstats
path: root/editor/inspector_dock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #63601 from YeldhamDev/tooltip_stuffRémi Verschelde2022-11-171-2/+2
|\ | | | | | | Small changes to some tooltips
| * Small changes to some tooltipsMichael Alexsander2022-11-121-2/+2
| |
* | Remove more instances of 'instance' being used as a verbVolTer2022-11-161-1/+1
|/
* Unify usage of undo_redo in editorkobewi2022-11-021-1/+1
|
* Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-2/+2
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-8/+8
| | | | change warnings=all to use /W4.
* Improvements to multi-node editingFireForge2022-09-051-8/+6
| | | | | | | | - Show revert button for properties that are not default for all selected nodes - Show property documentation tooltips - Show common class name and icon and number of selected nodes in EditorPath, e.g. "Node2D (4 Selected)" - Hide metadata for MultiNodeEdit and AnimationMultiTrackKeyEdit - Hide script for MultiNodeEdit
* Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-9/+9
| | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* Disable editing properties in foreign resourcesSaracenOne2022-08-231-19/+34
| | | | | | from imported scenes or objects returning true from a function named '_is_read_only' and disable resaving imported resources.
* Add per-scene UndoRedokobewi2022-08-221-2/+3
|
* Merge pull request #63429 from RandomShaper/indicate_overriddenRémi Verschelde2022-07-311-0/+9
|\
| * Improve usability of non-default values in the property inspectorPedro J. Estébanez2022-07-301-0/+9
| | | | | | | | | | - Provide a visual indication that a (sub)group contains non-default (revertable) values when it's collapsed. - Add a new option to the inspector's tools menu for expanding only (sub)groups containing properties with non-default values.
* | Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-0/+1
| | | | | | | | up editor includes
* | Merge pull request #43081 from KoBeWi/property_keeperRémi Verschelde2022-07-291-0/+28
|\ \ | | | | | | Keep property values when extending script
| * | Keep property values when extending scriptTomasz Chabora2022-07-291-0/+28
| |/
* / Remove Signal connect bindsJuan Linietsky2022-07-291-1/+1
|/ | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Seperate filter and description in FileDialog.add_filter()FireForge2022-07-091-2/+2
|
* Use consistent casing in editor filter/search barsFireForge2022-05-281-1/+1
|
* Add a new HashSet templatereduz2022-05-201-1/+1
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-161-2/+2
| | | | | | | | | | | | * 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!
* Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-031-13/+13
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Cleanup EditorNode and EditorDataHendrik Brucker2022-03-301-9/+9
| | | | Co-authored-by: Eric M <itsjusteza@gmail.com>
* Merge pull request #59496 from KoBeWi/inspector_teleportRémi Verschelde2022-03-291-0/+2
|\
| * Switch scene when editing foreign resourcekobewi2022-03-251-0/+2
| |
* | Add property name style toggle to InspectorHaoyu Qiu2022-03-281-2/+34
| |
* | Refactor Object metadatareduz2022-03-241-0/+1
|/ | | | | | | | | * API kept the same (Although functions could be renamed to set_metadata/get_metadata in a later PR), so not much should change. * Metadata now exposed as individual properties. * Properties are editable in inspector (unless metadata name begins with _) under the metadata/ namespace. * Added the ability to Add/Remove metadata properties to the inspector. This is a functionality that was requested very often, that makes metadata work a bit more similar to custom properties in Blender.
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-1/+1
| | | | | | | | | | | 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.
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-19/+18
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+2
|
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-1/+1
| | | | | | | | 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.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-1/+1
|
* Merge pull request #55066 from trollodel/less_singletons_in_editornodeRémi Verschelde2022-01-201-1/+5
|\
| * Store panels and docks singletons in their own classestrollodel2022-01-201-1/+5
| |
* | Merge pull request #52134 from RandomShaper/fix_namingRémi Verschelde2022-01-201-2/+2
|\ \ | |/ |/|
| * Rename Variant::is_ref() to is_ref_counted()Pedro J. Estébanez2022-01-201-2/+2
| |
* | [Editor] Move some animation specific keying logic out of inspector.Fabio Alessandrelli2022-01-191-34/+0
|/ | | | | | | Most of the custom logic to handle special keying cases is now inside the AnimationPlayerEditorPlugin. The EditorInspector now emits a signal when inspecting a new object.
* Fix theming changes in the inspectorYuri Roubinsky2022-01-121-21/+3
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-2/+2
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Fixed animation insertion in SkeletonEditorSilc 'Tokage' Renew2021-10-231-1/+3
|
* Implemented SkeletonEditorGizmoSilc Renew2021-10-071-3/+3
| | | | Co-authored-by: Lyuma <xn.lyuma@gmail.com>
* Add TextFile support across the editorPaulb232021-09-301-8/+22
|
* Added confirmation dialog for making subresources unique.Eric M2021-09-161-26/+102
|
* Disable "Edit Resource from Clipboard" menu item when nothing in clipboardHaoyu Qiu2021-08-161-0/+7
| | | | To be consistent with other menu items.
* Disable save button when Inspector is not editing anythingHaoyu Qiu2021-08-041-15/+13
|
* Hide open doc button when not inspecting anythingHaoyu Qiu2021-07-291-2/+3
|
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-5/+5
|
* Minor enhancements for the resource options buttonHaoyu Qiu2021-07-191-2/+3
|
* Optimize StringName usagereduz2021-07-181-34/+34
| | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.