1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Rémi Verschelde
cd7b57e6c8 Merge pull request #112243 from Giganzo/resource-picker-buttons
Fix resource picker button style
2025-11-01 19:05:58 +01:00
Giganzo
a73722e0e9 Fix resource picker button style 2025-10-31 13:36:56 +01:00
LuoZhihao
ce2fae79b1 Fallback to parent class icon by default for gdextension 2025-10-31 18:03:32 +08:00
Thaddeus Crews
fe9cdea92c Merge pull request #106947 from Meorge/feat/quick-load-preview
Allow Quick Open dialog to preview change in scene
2025-10-21 15:11:04 -05:00
Thaddeus Crews
06c0985fee Merge pull request #105450 from raulsntos/MissingNode/default_properties
Make `MissingNode`/`MissingResource` non-virtual and hide from dialogs
2025-10-20 18:09:55 -05:00
Sat
12ced6c83b Add support for making arrays and dictionaries with Resources unique 2025-10-12 23:11:09 -03:00
Raul Santos
6faa4e369a Make MissingNode/MissingResource non-virtual and hide from dialogs
This allows ClassDB to get the default values for inherited properties.
The `MissingNode` and `MissingResource` types are excluded from the create
dialog and the inspector's Resource selector.
2025-10-12 09:58:50 +02:00
Malcolm Anderson
2f1e8dad74 Add Instant Preview to Quick Open dialog
Add toggle for instant preview

Always keep search box selected so that keyboard navigation works

Add default setting for Instant Preview

Directly set property value for resource via Quick Load menu (no undo/redo or dirty-scene functionality yet)

Add undo/redo functionality

Update class reference

Update doc/classes/EditorSettings.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Slight improvement(?) to wording of setting

Allow previewing without committing change

Address various suggestions/improvements

Only allow Instant Preview to be used if Quick Open menu is being used to modify a property

Only allow property-based Quick Load when resource to modify is defined (otherwise default to old behavior)

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Address comments/suggestions

Get rid of duplicated code and use original callback strategy

(Attempt to) fix Instant Preview for editing multiple nodes at once and undo/redo stack for single nodes

Fix cancelling Quick Open when multiple nodes are selected

Prevent initially selected item in Quick Open dialog from overwriting the currently selected property

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Make a few changes/improvements based on feedback

- Combine some duplicated code into `_finish_dialog_setup()`
- Move `ERR_FAIL_NULL(p_obj);` to top of checks
- Fix renaming of `is_instant_preview_enabled()` across code, and remove now-redundant conditions where it is used
- Make `EditorResourcePicker::property_path` be `StringName` not `String`
2025-09-29 15:12:21 -07:00
Thaddeus Crews
b1b9a42517 Merge pull request #108551 from KoBeWi/paste_as_unique_norecursive
Improve Paste as Unique option
2025-09-23 14:51:47 -05:00
kobewi
eae9ef2292 Change preview methods to take Callable 2025-09-23 20:13:00 +02:00
Thaddeus Crews
2753d333f6 Merge pull request #109375 from ColinSORourke/VisualShaderEmbedHandling
Fix VisualShader Conversion failing with subresources
2025-09-19 09:17:10 -05:00
Colin O'Rourke
c4559c02de VisualShader Conversion fails with Embeds
Potentially resolves https://github.com/godotengine/godot/issues/101375

VisualShader now has a has_node_embeds function that runs through it's child nodes to find embedded resources via object properties. Conversion plugin uses this function to catch the error.
2025-09-18 14:35:30 -07:00
kobewi
f320274ca3 Improve Paste as Unique option 2025-09-18 22:34:48 +02:00
Björn
8798387770 Improve identification of edits on property Object->script
Narrows down the criteria to determine if the property being edited with the `EditorResourcePicker` is actually the `Object->script` property.
2025-09-03 17:38:56 +02:00
Lindo
529a5a3512 Fix error when dragging non-resource file 2025-07-16 11:23:09 +02:00
Michael Alexsander
e924d2b565 Fix unwanted resource duplication in the theme editor 2025-07-12 12:39:55 -03:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00