Commit Graph

10 Commits

Author SHA1 Message Date
jack-klein-5 8c5f93bd8b Default multi-node property revert to node revert
Fixes bug #117759 where single select and multi-select reverts are
inconsistent. Currently the editor property revert option will do an
instance reset to scene property value if one node is selected, but
revert to class default if multiple nodes are selected. This change
would check for node revert first and then class default for multiple
nodes for consistent behavior.
2026-03-24 12:59:50 -07:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Thaddeus Crews cfd2b37278 Merge pull request #111606 from YeldhamDev/out_of_the_field
Fix error when editing multifield values inside arrays and dictionaries
2025-11-10 08:20:24 -06:00
Sat 804188d320 Add indicator to linked Resources 2025-11-04 16:55:31 -03:00
Michael Alexsander 31efc7eefa Fix error when editing multifield values inside arrays and dictionaries 2025-10-13 13:29:32 -03: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
Mike Precup 1c8e3f9037 Speed up large selections in the editor 2025-08-31 14:25:44 -07: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