summaryrefslogtreecommitdiffstats
path: root/editor/editor_resource_picker.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement a quick script inheritance checkJuan Linietsky2023-01-191-6/+2
| | | | Optimizes, simplifies and fixes EditorResourcePicker (was not refreshing custom clases).
* 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".
* Script-class-aware Inspector & related controls.willnationsdev2022-09-171-0/+1
|
* Disable editing properties in foreign resourcesSaracenOne2022-08-231-1/+1
| | | | | | from imported scenes or objects returning true from a function named '_is_read_only' and disable resaving imported resources.
* Add "Make Unique (Recursive)" to resource picker, simplify "Make Unique"Hendrik Brucker2022-08-061-0/+1
|
* Implement BPM supportreduz2022-07-231-2/+33
| | | | | | | | | | | Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
* 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-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-3/+3
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-3/+3
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* 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.
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-1/+2
|
* Merge pull request #56321 from pycbouh/core-use-gdvirtual-everywhereRémi Verschelde2022-01-071-0/+3
|\
| * Use GDVIRTUAL* macros when binding virtual methods in exposed classesYuri Sizov2021-12-291-0/+3
| |
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Infer shader type based on edited nodekobewi2021-11-031-0/+2
|
* Add QuickLoad option to resource picker.Ryan Roden-Corrent2021-09-181-0/+4
| | | | | | | | | | | | When clicking on a resource field in the inspector dock, you now have the "Quick Load" option in addition to "Load". This opens a QuickOpen dialog allowing the user to type in a phrase to quickly locate the desired resource (similar to "Quick Open Scene"). In my experience, this is much faster than clicking through the File Dialog. Relates to godotengine/godot-proposals#346.
* Added editor dialog for easily creating shaders.Yuri Roubinsky2021-08-071-0/+19
|
* Cache EditorResourcePicker's allowed typesYuri Sizov2021-08-031-0/+4
|
* Create many types of popups on demandreduz2021-07-171-1/+3
| | | | | | | | | * LineEdit popups created on demand. * TextEdit popups created on demand. * SpinSlider popups created on demand. * ResourcePicker popups created on demand. Improves editor responsiveness.
* Make EditorFileDialog only created on demand in EditorResourcePickerYuri Sizov2021-05-251-1/+1
|
* Use EditorResourcePicker in the InspectorYuri Sizov2021-05-191-0/+31
|
* Add EditorResourcePicker control based on the Inspector editor for Resourcespycbouh2021-05-171-0/+110
Fix formatting for the docs