summaryrefslogtreecommitdiffstats
path: root/editor/editor_properties.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add const lvalue ref to editor/* container parametersMuller-Castro2024-02-261-3/+3
|
* Fix paste Value can empty a dictionary depending on right-click locationajreckof2024-02-261-0/+1
|
* Make auto translation inheritableMichael Alexsander2024-02-151-3/+3
|
* Split theme generation logic into several subroutinesYuri Sizov2024-01-161-4/+4
| | | | | | | | | | | | | | | | | | | | This change introduces a new theme configuration struct to be passed to the aforementioned routines to better control reuse of styles and definitions in the generator. Everything not passed and not explicitly shared is scoped so it is not automatically accessible throughout the routine. This should ensure that the decision to share styles is a conscious one. In the future we will try to reduce the number of unique definitions and share most of it. This PR is a stepping stone on this path. This also puts the effort into separating redefinitions of default theme items vs custom types introduced only by the editor. In a few cases where editor-specific definitions need to reference default definitions we simply fetch them from the theme. It's not ideal and hides the dependency a bit, but hopefully these cases will be abstracted properly in due time.
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Update deferred calls to use Callableskobewi2024-01-091-1/+1
|
* Use `set_value_no_signal` in editor property codeAaron Franke2023-12-181-153/+74
|
* Merge pull request #85723 from ↵Yuri Sizov2023-12-081-0/+8
|\ | | | | | | | | | | ilyabelow/84609-visual-shader-viewport-texture-error Add a specific error when creating a ViewportTexture in a Texture2D node
| * Add a specific error when creating a ViewportTexture in a Texture2D node in ↵ilyabelow2023-12-041-0/+8
| | | | | | | | a Visual Shader
* | Merge pull request #82528 from SaracenOne/path_typesYuri Sizov2023-12-081-0/+8
|\ \ | |/ |/| | | Add support for exporting script classes without a name
| * Script path type support in editor:Saracen2023-11-081-0/+8
| | | | | | | | | | Allow script path type hints to be used in drag and drop and scene tree popup.
* | Fill remaining global scope constant descriptionskobewi2023-11-131-3/+0
| |
* | Fix missing arrows in integer vector propertieskobewi2023-11-091-3/+3
|/
* Add bulk change guards to successive theme overrides in Editor and GUIYuri Sizov2023-10-191-2/+2
|
* Merge pull request #75274 from KoBeWi/NodeTrailRémi Verschelde2023-10-041-34/+102
|\ | | | | | | Enhance NodePath property editing
| * Enhance NodePath property editingkobewi2023-10-021-34/+102
| |
* | Fix node icons appearing too big in some caseskobewi2023-10-031-0/+1
|/
* Merge pull request #82287 from ↵Rémi Verschelde2023-09-261-1/+1
|\ | | | | | | | | | | jsjtxietian/fix-clear-error-when-unset-exported-typed-array-vai-editor Fix can't unset exported typed array element when the type is set to Node
| * Fix can't unset exported typed array element when the type is set to Nodejsjtxietian2023-09-251-1/+1
| |
* | Replace `radians` range hint with `radians_as_degrees`A Thousand Ships2023-09-251-10/+14
| |
* | [Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-151-2/+2
|/
* Add EditorStringNames singletonkobewi2023-09-031-36/+37
|
* Merge pull request #80450 from KoBeWi/settings_freeze,_no_more_changesYuri Sizov2023-08-251-1/+1
|\ | | | | | | Deprecate `project_settings_changed` signal
| * Deprecate project_settings_changed signalkobewi2023-08-101-1/+1
| |
* | Replace all flags with one value when holding Cmd in the layers editorHugo Locurcio2023-08-171-14/+26
|/ | | | | | | | This behavior is inspired by Blender (except it's the other way around to preserve the current default behavior). Trying to enable a single enabled value with Cmd held will invert the current flags, which makes enabling all flags but one faster.
* Show valid types in SceneTreeDialogkobewi2023-08-041-2/+2
|
* Hide explicitly specified flag value in InspectorHaoyu Qiu2023-07-141-2/+2
|
* Fix property hint class name type string restriction and replace modeAaron Franke2023-07-061-2/+2
|
* Merge pull request #76389 from ajreckof/editor-property-nodepath-for-nodeRémi Verschelde2023-06-011-53/+54
|\ | | | | | | Fix typed array export
| * Fix typed array exportajreckof2023-05-211-53/+54
| | | | | | | | | | | | | | | | | | | | Apply suggestions from code review to squash later Revert "Fix typed array export... again" This reverts commit da8d6734fbc31f68e7e822f37fd239a92ac79b34. Co-Authored-By: Tomek <kobewi4e@gmail.com>
* | Refactor vector editor propertieskobewi2023-05-311-772/+5
| |
* | Add indicator for StringName propertieskobewi2023-05-261-1/+12
| |
* | Add get_edited_property_value() shorthand methodkobewi2023-05-261-45/+45
| |
* | Do not translate node name when assigned to an exported fieldHakim2023-05-181-0/+1
|/
* Merge pull request #69988 from smix8/navigation_rvo_rework_4.xRémi Verschelde2023-05-101-1/+11
|\ | | | | | | Rework Navigation Avoidance
| * Rework Navigation Avoidancesmix82023-05-101-1/+11
| | | | | | | | Rework Navigation Avoidance.
* | Improve the UX of ViewportTexture in the editorRindbee2023-05-101-1/+0
|/ | | | | | | | | | The associated `ViewportTexture`s will update the `viewport_path` in time when the `Viewport`'s nodepath is changed (caused by renaming the node names or moving in the SceneTree dock). If the target `Viewport` is changed by resetting the `viewport_path`, the `ViewportTexture`s will be re-setup and emit `changed` signal in time.
* Make `EditorPropertyLayersGrid` responsive to touch tapsFredia Huya-Kouadio2023-04-231-47/+59
|
* Improve includes of EditorNode (and everything else)Yuri Sizov2023-04-071-2/+3
| | | | | | Also start organizing editor-specific GUI components into a dedicated folder, `editor/gui`. Also move `editor_file_server` next to the rest of debugger classes.
* Turn off auto translate for some editor controlsHaoyu Qiu2023-03-281-0/+2
| | | | | | | | | | | | * Scene tab * Animation name list in Animation panel * Feature profile name list in Editor Feature Profile dialog * Layout names in editor layout menu * Subresource list in Inspector dock * Resource type shown in EditorResourcePicker * Enum dropdowns in inspectors: We'll eventually allow auto translating these after implementing a way to opt-out auto translation on a property-by-property basis and a way to extract enumerators.
* clear filter input in Project Settings when opening Layersyedpodtrzitko2023-03-101-1/+1
|
* Merge pull request #73381 from KoBeWi/works_better_than_expected_huhYuri Sizov2023-02-171-0/+7
|\ | | | | Fold resources when non-main inspector exits tree
| * Fold resources when non-main inspector exits treekobewi2023-02-151-0/+7
| |
* | EditorProperty: Fix missing increment buttons for integersRémi Verschelde2023-02-151-6/+9
|/ | | | Fixes #73192.
* Fix @export_multiline for PackedStringArraykobewi2023-02-041-1/+1
|
* Use `PropertyUsageFlags` enum in parse_propertyRaul Santos2023-01-311-2/+2
|
* Tweak overrun behavior of EditorPropertyObjectIDkobewi2023-01-291-0/+3
|
* Convert en_GB spelling to en_US with codespellRémi Verschelde2023-01-231-2/+2
|
* Rework EditorPlugin editing logickobewi2023-01-221-48/+15
|
* Merge pull request #71418 from TokageItLab/restart-anim-treeRémi Verschelde2023-01-191-2/+7
|\ | | | | | | Allow AnimationStateMachine / AnimationNode to restart when transitioning to the same state