summaryrefslogtreecommitdiffstats
path: root/editor/editor_properties.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Allow AnimationNodes to restart when transitioning to the same stateSilc Renew2023-01-191-2/+7
| |
* | Merge pull request #71379 from KoBeWi/destruction_of_compatibility_functionRémi Verschelde2023-01-181-6/+2
|\ \ | | | | | | Remove set_drag_forwarding_compat()
| * | Remove set_drag_forwarding_compat()kobewi2023-01-141-6/+2
| | |
* | | Merge pull request #71229 from reduz/fix-recursive-resource-inclusion-checkRémi Verschelde2023-01-151-0/+2
|\ \ \ | |/ / |/| | | | | Fix recursive resource inclusion check
| * | Fix recursive resource inclusion checkJuan Linietsky2023-01-111-0/+2
| |/ | | | | | | | | | | I forgot a line of code. Fixes #71194.
* | Merge pull request #70540 from vaartis/multiline-arrays-dictionariesRémi Verschelde2023-01-131-0/+1
|\ \ | |/ |/| | | Implement export_multiline support for Array[String] and Dictionary
| * Implement export_multiline support for Array[String] and DictionaryEkaterina Vaartis2022-12-251-0/+1
| | | | | | | | | | | | | | | | For arrays, specifically check if it's a string array and pass the type on to the editor. For dictionaries, save the hint on the type and use it later to draw the multiline editor, except for when adding a string key, because that doesn't make much sense. All string values however will be drawn as multiline.
* | Change set_drag_forwarding() to use callables.Juan Linietsky2023-01-101-2/+2
| | | | | | | | | | | | | | | | * This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
* | Removed unused property hints and `Object::get_translatable_strings()`Juan Linietsky2023-01-091-173/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unused `EditorPropertyMember` and related hints, previouly used by VisualScript. Such logic should be implemented in the VS module itself. * As the above broke compatibility with the VS module, clean up the other hacks that were still in core in support of VisualScript. * `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's `get_translatable_strings()`, which is a legacy function not used anywhere. So both are removed. * Reordered some usage flags after the above removal to minimize the diff. * General clean up. Fixes #30203. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | Merge pull request #71045 from reduz/use-bitfield-in-core-typesRémi Verschelde2023-01-091-1/+1
|\ \ | | | | | | | | | Use BitField<> in core type masks
| * | Use BitField<> in core type masksJuan Linietsky2023-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
* | | Prevent recursion in inspector resource assignment.Juan Linietsky2023-01-061-1/+81
|/ / | | | | | | Fixes #43177
* | Simplify some editor plugin logic and remove dead codeYuri Sizov2023-01-051-2/+1
| |
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* | Revert "Merge pull request #70696 from Rindbee/propagate-keying-state"Silc Renew2023-01-041-2/+0
| | | | | | | | | | This reverts commit c774b4ce1777d19789bec1cbef100f26c6927777, reversing changes made to ccc609d824802d1d1a20f34bda69ecac75f5a8a1.
* | Propagate the keying state in the inspectorRindbee2022-12-311-0/+2
|/ | | | | | Toggling the keying state does not significantly change the structure of the inspector. So it's ok to propagate the keying state and then use `queue_redraw()` to update the keying icon.
* Add inspector plugin for key time edit & Change find key argumentSilc Renew2022-12-221-14/+13
|
* Use forward-declarations in big editor classestrollodel2022-11-291-2/+8
|
* Fixes inability to assign script after clearingocean (they/them)2022-11-211-1/+5
|
* Rename TextureButton set_*_texture methods to set_texture_*Aaron Franke2022-11-191-11/+11
|
* Fix -Wunused-but-set-variable warnings from Emscripten 3.1.20Rémi Verschelde2022-11-041-3/+0
|
* Allow getting Quaternion rotation in different Euler ordersAaron Franke2022-11-021-1/+1
|
* Merge pull request #65062 from KoBeWi/RedoUndoRémi Verschelde2022-11-021-1/+0
|\ | | | | | | Unify usage of undo_redo in editor
| * Unify usage of undo_redo in editorkobewi2022-11-021-1/+0
| |
* | Replace Quaternion Euler constructor with `from_euler` methodAaron Franke2022-11-011-1/+1
|/
* Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde2022-10-311-2/+2
|\ | | | | | | Unify usage of GLOBAL/EDITOR_GET
| * Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-2/+2
| |
* | Merge pull request #67055 from GuilhermeGSousa/custom-node-exportRémi Verschelde2022-10-311-1/+2
|\ \ | |/ |/| | | Added custom node export
| * Added custom node exportGuilherme Sousa2022-10-141-1/+2
| |
* | Preserve caret when updating EditorPropertyTextkobewi2022-10-141-0/+2
|/
* Add empty state to enum propertieskobewi2022-10-131-1/+6
|
* Only show named layers in layer menuHaoyu Qiu2022-10-081-13/+34
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-12/+12
| | | | change warnings=all to use /W4.