summaryrefslogtreecommitdiffstats
path: root/editor/editor_resource_picker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #64555 from ↵Rémi Verschelde2022-08-281-1/+1
|\ | | | | | | | | nongvantinh/inspector_resource_preview_incorrect_size Fixed inspector resource preview shows up with incorrect size
| * Fixed inspector resource preview shows up with incorrect sizeNong Van Tinh2022-08-181-1/+1
| |
* | Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde2022-08-281-3/+3
|\ \ | | | | | | Rename `hint_tooltip` to `tooltip_text` & setter getter
| * | Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* | | Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record2022-08-271-3/+2
|/ /
* / Disable editing properties in foreign resourcesSaracenOne2022-08-231-44/+64
|/ | | | | | 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-17/+26
|
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-0/+1
| | | | up editor includes
* 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()
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-251-1/+1
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Implement BPM supportreduz2022-07-231-47/+230
| | | | | | | | | | | 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.
* Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge2022-07-181-1/+1
|
* Seperate filter and description in FileDialog.add_filter()FireForge2022-07-091-1/+1
|
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-1/+1
|
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-12/+0
|
* Add rounded corners to EditorProperty and EditorSpinSliderFireForge2022-05-251-0/+2
| | | | | | | | - Adds rounded corners to the EditorProperty child background, EditorSpinSlider label background, and resource sub-inspector borders and background. - Allows customizing EditorSpinSlider label background through a new Theme StyleBox property, label_bg. - Makes margins consistent in resource sub-inspectors. - Removes space between buttons in NodePath, Resource, and multiline string editors. - Adds space between label background and content for vertical property editors.
* Add a new HashSet templatereduz2022-05-201-12/+13
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Use range iterators for RBSet in most casesAaron Record2022-05-191-8/+8
|
* Replace most uses of Map by HashMapreduz2022-05-161-15/+15
| | | | | | | | | | | | * 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-8/+8
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Merge pull request #60395 from Geometror/editor-gradient-preview-pluginRémi Verschelde2022-04-261-1/+2
|\
| * Add gradient resource preview generatorHendrik Brucker2022-04-211-1/+2
| |
* | Rename theme properties to include underscoresFireForge2022-04-231-1/+1
|/ | | | | | | | | | | | | | - check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
* Make resource unique when pasting to another scenekobewi2022-03-241-0/+7
|
* Merge pull request #58821 from ↵Rémi Verschelde2022-03-061-1/+6
|\ | | | | | | | | IgorKordiukiewicz/extend-script-popup-without-script Fixed issue where Extend Script option would show up even without script attached to the node
| * Fixed issue where Extend Script option would show up even without script ↵Igor Kordiukiewicz2022-03-061-1/+6
| | | | | | | | attached to the node
* | Remove set_as_minsize()kobewi2022-03-061-2/+2
|/
* Replace some bits of code left to work with the new `TabContainer`Michael Alexsander2022-03-041-1/+1
|
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-0/+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-4/+6
|
* Refactor some object type checking code with `cast_to`Rémi Verschelde2022-02-081-8/+8
| | | | Less stringly typed logic, and less String allocations and comparisons.
* Merge pull request #43015 from Xrayez/refactor-auto-instapropRémi Verschelde2022-02-081-0/+2
|\ | | | | Refactor auto-instantiation of `Object` properties in editor
| * Refactor auto-instantiation of `Object` properties in editorAndrii Doroshenko (Xrayez)2021-12-281-0/+2
| | | | | | | | | | | | | | | | 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).
* | Store panels and docks singletons in their own classestrollodel2022-01-201-4/+5
| |
* | Rename TextureRect.expand to ignore_texture_sizekobewi2022-01-071-1/+1
| |
* | Merge pull request #56321 from pycbouh/core-use-gdvirtual-everywhereRémi Verschelde2022-01-071-6/+6
|\ \
| * | Use GDVIRTUAL* macros when binding virtual methods in exposed classesYuri Sizov2021-12-291-6/+6
| |/
* | Merge pull request #56398 from KoBeWi/cooler_pickerRémi Verschelde2022-01-051-7/+31
|\ \
| * | Improvements to EditorResourcePickerkobewi2022-01-011-7/+31
| |/
* / 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-5/+5
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Use "enum class" for input enumsAaron Franke2021-11-121-1/+1
|
* Rename `GradientTexture` to `GradientTexture1D`Andrii Doroshenko (Xrayez)2021-11-071-1/+1
| | | | | 1. Explicit and unambiguous when comparing to `GradientTexture2D` 2. Consistent with other class names where 1D is used in the engine.
* Merge pull request #52781 from KoBeWi/node's_favorite_shaderRémi Verschelde2021-11-031-1/+5
|\
| * Infer shader type based on edited nodekobewi2021-11-031-1/+5
| |
* | Add a flag to EditorResourcePicker to differentiate selection contextsYuri Sizov2021-11-021-3/+3
|/
* Merge pull request #51920 from ↵Rémi Verschelde2021-09-231-1/+1
|\ | | | | | | jmb462/missing-sname-macro-optimization-in-some-functions
| * Add missing SNAME macro optimization for StringName in some functionsjmb4622021-08-201-1/+1
| |
* | Use Rect2's get_end().Anilforextra2021-09-221-1/+1
| |
* | Add QuickLoad option to resource picker.Ryan Roden-Corrent2021-09-181-1/+19
|/ | | | | | | | | | | | 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.