summaryrefslogtreecommitdiff
path: root/editor/editor_resource_picker.cpp
AgeCommit message (Collapse)Author
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-08Merge pull request #43015 from Xrayez/refactor-auto-instapropRémi Verschelde
Refactor auto-instantiation of `Object` properties in editor
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-07Rename TextureRect.expand to ignore_texture_sizekobewi
2022-01-07Merge pull request #56321 from pycbouh/core-use-gdvirtual-everywhereRémi Verschelde
2022-01-05Merge pull request #56398 from KoBeWi/cooler_pickerRémi Verschelde
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-01Improvements to EditorResourcePickerkobewi
2021-12-29Use GDVIRTUAL* macros when binding virtual methods in exposed classesYuri Sizov
2021-12-28Refactor auto-instantiation of `Object` properties in editorAndrii Doroshenko (Xrayez)
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).
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-07Rename `GradientTexture` to `GradientTexture1D`Andrii Doroshenko (Xrayez)
1. Explicit and unambiguous when comparing to `GradientTexture2D` 2. Consistent with other class names where 1D is used in the engine.
2021-11-03Merge pull request #52781 from KoBeWi/node's_favorite_shaderRémi Verschelde
2021-11-03Infer shader type based on edited nodekobewi
2021-11-02Add a flag to EditorResourcePicker to differentiate selection contextsYuri Sizov
2021-09-23Merge pull request #51920 from ↵Rémi Verschelde
jmb462/missing-sname-macro-optimization-in-some-functions
2021-09-22Use Rect2's get_end().Anilforextra
2021-09-18Add QuickLoad option to resource picker.Ryan Roden-Corrent
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.
2021-08-20Add missing SNAME macro optimization for StringName in some functionsjmb462
2021-08-07Added editor dialog for easily creating shaders.Yuri Roubinsky
2021-08-03Cache EditorResourcePicker's allowed typesYuri Sizov
2021-08-01Fix crash on doc dragging in script list panelYuri Roubinsky
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-17Create many types of popups on demandreduz
* LineEdit popups created on demand. * TextEdit popups created on demand. * SpinSlider popups created on demand. * ResourcePicker popups created on demand. Improves editor responsiveness.
2021-07-13Fix casing of the "to" stop word in editor stringsHugo Locurcio
This also fixes a C# documentation example that had one of its strings incorrectly converted.
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-17Add PROPERTY_USAGE_NONE and use itAaron Franke
2021-06-13Fix some virtual methodskobewi
2021-06-12Consistently prefix bound virtual methods with _kobewi
2021-05-25Make EditorFileDialog only created on demand in EditorResourcePickerYuri Sizov
2021-05-19Use EditorResourcePicker in the InspectorYuri Sizov
2021-05-17Add EditorResourcePicker control based on the Inspector editor for Resourcespycbouh
Fix formatting for the docs