summaryrefslogtreecommitdiffstats
path: root/editor/editor_data.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update deferred calls to use Callableskobewi2024-01-091-2/+1
|
* Make Copy->paste Params skip resource_pathFlavelius2023-11-251-1/+1
| | | | Resource path should not be attempted to be taken over, as that's not intended for copy-paste and fails anyway, but this results in the whole paste operation failing as well
* [Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-151-2/+2
|
* Merge pull request #75656 from YuriSizov/core-iconic-builtinsRémi Verschelde2023-08-291-1/+7
|\ | | | | | | Add a script method to get its class icon
| * Add a script method to get its class iconYuri Sizov2023-08-241-1/+7
| | | | | | | | Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
* | Avoid unnecessary inspector updates when loading or switching scenesYuri Sizov2023-08-121-3/+3
|/ | | | | | This should result in some noticeable performance improvements, aside from fixing bugs due to conflicts in logic. This also simplifies some related code identified while debugging.
* Don't grab theme icons for scriptskobewi2023-07-211-9/+0
|
* Fix node selection not handled correctly at launchkobewi2023-07-031-5/+0
|
* Improve script icon cachekobewi2023-06-261-1/+24
|
* Fix some invalid plugin edit callskobewi2023-06-111-0/+5
|
* Allow GDExtensions to add editor pluginsDavid Snopek2023-05-251-0/+18
|
* Improve editor state persistenceHendrik Brucker2023-05-111-4/+4
|
* Merge pull request #75864 from KoBeWi/assassin_of_shadersMax Hilbrunner2023-05-051-1/+1
|\
| * Close built-in shaders when closing scenekobewi2023-04-091-1/+1
| |
* | Extract editor run toolbar into its own componentYuri Sizov2023-04-191-0/+10
| | | | | | | | | | | | | | | | - Simplify and update its logic. - Simplify EditorScript. - Improve EditorNode and other relevant includes. - Fix scene-based path in the movie writer when reloading a scene.
* | Fix cleaning up inspector and history when deleting multiple nodes at once.SaracenOne2023-04-181-16/+40
|/
* Improve editor state initializationkobewi2023-04-031-0/+7
|
* Add support for icons in GDExtension classesYuri Sizov2023-03-311-0/+12
| | | | Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Make icons of scripted and custom classes fit the editor UIYuri Sizov2023-03-311-10/+8
| | | | | | | | | | | Also: - Add an option to limit the icon size in PopupMenu. This is similar to how this works in Tree and TreeItem. - Add the same option to TabBar. - Add a theme constant for Tree, PopupMenu, Button, and TabBar to apply this limit on the control level. Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
* Streamline class icon resolution in the editorYuri Sizov2023-03-311-2/+53
|
* Cleanup unused engine code v2kobewi2023-01-191-18/+0
|
* Move global script class cache to separate filekobewi2023-01-161-14/+23
|
* Add EditorUndoRedoManager singletonkobewi2023-01-161-7/+7
|
* 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".
* Fix resource picker regressionrune-scape2022-12-181-2/+3
|
* GDScript: Avoid using `get_global_class_native_base`rune-scape2022-11-271-5/+5
|
* Remove more instances of 'instance' being used as a verbVolTer2022-11-161-1/+1
|
* Unify usage of undo_redo in editorkobewi2022-11-021-2/+0
|
* Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-2/+2
|
* Merge pull request #58617 from KoBeWi/custom_somethingRémi Verschelde2022-09-071-0/+26
|\ | | | | | | Improve handling of custom types
| * Improve handling of custom typeskobewi2022-09-051-0/+26
| |
* | Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOTMicky2022-09-061-1/+1
|/ | | | For consistency. Every other exposed `one_shot` is spaced out like this.
* Replace Array return types with TypedArraykobewi2022-08-221-2/+2
|
* Add per-scene UndoRedokobewi2022-08-221-25/+53
|
* 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()
* Fix heap-use-after-free when closing a scene with its builtin script openHaoyu Qiu2022-07-061-0/+1
|
* Add a new HashSet templatereduz2022-05-201-2/+2
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-161-9/+9
| | | | | | | | | | | | * 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!
* Add a new HashMap implementationreduz2022-05-121-6/+3
| | | | | | | | | | | | | | | | | Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
* Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-031-1/+1
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Fix some issues found by cppcheck.bruvzg2022-04-061-1/+1
|
* Cleanup EditorNode and EditorDataHendrik Brucker2022-03-301-142/+101
| | | | Co-authored-by: Eric M <itsjusteza@gmail.com>
* Initialize bools in the headers in editorAaron Franke2022-03-121-3/+0
|
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-161-5/+0
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-2/+2
| | | | | | | | | | | 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.
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-2/+2
|
* Merge pull request #43015 from Xrayez/refactor-auto-instapropRémi Verschelde2022-02-081-0/+15
|\ | | | | Refactor auto-instantiation of `Object` properties in editor
| * Refactor auto-instantiation of `Object` properties in editorAndrii Doroshenko (Xrayez)2021-12-281-0/+15
| | | | | | | | | | | | | | | | Auto-instantiation is used by the create dialog, but should also be used by the editor inspector. This refactors object properties auto-instantiation into a dedicated method to be reused throughout editor (and possibly scripting).
* | Use ScriptServer::get_global_class_base instead of script_class_get_base in ↵Jason Knight2022-02-071-12/+3
| | | | | | | | script_class_is_parent.
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
|/ | | | Happy new year to the wonderful Godot community!