Commit Graph

10988 Commits

Author SHA1 Message Date
Rémi Verschelde a293f2204c Merge pull request #65134 from Mickeon/editor-unique-name-toggle
Make "Access as Unique Name" a shortcut
2022-09-19 22:03:00 +02:00
Rémi Verschelde 82961dda3d Merge pull request #66108 from Zylann/editor_inspector_get_selected_path
Expose `EditorInspector.get_selected_path`
2022-09-19 22:01:32 +02:00
Micky f7231b67e1 Make "Access as Unique Name" a shortcut
The shortcut's name is "scene_tree/toggle_unique_name", not mapped to anything by default.

It also dynamically changes the text based on whether or not the unique name is going to be enabled or disabled.

Finally, it spaces the shortcut in the menu close to "Copy Node Path" if possible.
2022-09-19 17:16:50 +02:00
Marc Gilleron cee8bd9e76 Expose `EditorInspector.get_selected_path` 2022-09-19 15:20:34 +01:00
Rémi Verschelde 6f5704d86f Merge pull request #65630 from aaronfranke/no-defer-ste-warn-ch
_warning_changed` signal connection
2022-09-19 15:43:23 +02:00
Rémi Verschelde ec60c4ee9e Merge pull request #65271 from KoBeWi/FirAccess🌲
Replace File/Directory with FileAccess/DirAccess
2022-09-19 15:33:24 +02:00
Rémi Verschelde 166ab6e80e Merge pull request #66101 from KoBeWi/help,_it_crashed
Fix possible crash in editor help
2022-09-19 15:32:34 +02:00
Rémi Verschelde d4f8418582 Merge pull request #66080 from Zylann/editor_property_set_read_only
Expose `EditorProperty._set_read_only` virtual method
2022-09-19 15:32:16 +02:00
Rémi Verschelde aa42b4f0cb Merge pull request #65995 from MinusKube/tileset-size-bug
Fix atlas view drawing roots having zoom applied twice
2022-09-19 15:32:01 +02:00
kobewi 1eda8c2432 Fix possible crash in editor help 2022-09-19 13:26:50 +02:00
Marc Gilleron 056a418862 Expose `EditorProperty._set_read_only` virtual method 2022-09-19 11:56:49 +01:00
kobewi 9f2dc68279 Replace File/Directory with FileAccess/DirAccess 2022-09-19 11:03:31 +02:00
kobewi b3997191d8 Change UndoRedo to use Callables 2022-09-18 23:52:50 +02:00
Yuri Rubinsky 908795301b
Merge pull request #66040 from jeffres/fix-closing-shader-file-with-middle-mouse-click 2022-09-18 22:26:15 +03:00
Rémi Verschelde e5594c26b1
Merge pull request #44143 from KoBeWi/callable_multiplayer 2022-09-18 13:47:04 +02:00
jeffres b9d9528c45 Close shader under cursor when middle mouse clicking in editor list
Previously middle mouse clicking resulted in the currently selected
file to be closed, which is not the behavior commonly expected.
2022-09-18 13:25:13 +02:00
Tomasz Chabora 882a4f8906 Port remaining connections to callable_mp 2022-09-18 13:08:54 +02:00
Rémi Verschelde 7a0a3fea94 Merge pull request #62417 from willnationsdev/gdres-quickopen
Enable QuickOpen to see scripted resources
2022-09-18 10:53:53 +02:00
Rémi Verschelde 469eb3dfd7 Merge pull request #62413 from willnationsdev/gdres-inspector
Script-class-aware Inspector & related controls.
2022-09-18 10:53:47 +02:00
Rémi Verschelde 58e5863f9a Merge pull request #66031 from qarmin/compile_regex_editor
Add missing constructor, to compile editor without regex module
2022-09-18 10:52:45 +02:00
Rémi Verschelde c6e5c76536 Merge pull request #65561 from ryburnj/inconsistent-cap-scene-file-name
Fix inconsistent scene file name casing
2022-09-18 10:49:00 +02:00
Rafał Mikrut 4e7cf3d919 Add missing constructor, to compile editor without regex module 2022-09-18 08:16:36 +02:00
willnationsdev cc5a736c0b Enable QuickOpen to see scripted resources. 2022-09-17 20:35:58 -05:00
ryburnj 9d6af9323a Fix inconsistent scene file name casing by moving existing Name_Casing code to separate function in editor_node, and adding a call from both editor_node and scene_tree_dock. 2022-09-18 11:17:22 +10:00
willnationsdev d32f2700ff Script-class-aware Inspector & related controls. 2022-09-17 18:34:57 -05:00
Rémi Verschelde 24115beb3c Merge pull request #66000 from KoBeWi/clear_'_clear_undo_history'
Remove unused `_clear_undo_history` method
2022-09-18 00:43:54 +02:00
Rémi Verschelde 09d1ebb7ae Merge pull request #66004 from bruvzg/hb52
Update to version 5.2.0, add new Unicode 15 blocks and scripts.
2022-09-18 00:43:49 +02:00
Rémi Verschelde 519191d2f1 Merge pull request #65900 from YuriSizov/editor-animation-loopity-loops-loop
Fix loop mode button update in the Animation editor
2022-09-18 00:40:35 +02:00
Rémi Verschelde f9e4785e48 Merge pull request #65911 from EliasVincent/light-theme-palette-text-fix
color of Command Palette shortcut text not visible in Light theme
2022-09-18 00:40:06 +02:00
bruvzg ec8084d87f
HarfBuzz: Update to version 5.2.0, add new Unicode 15 blocks and scripts. 2022-09-17 23:19:11 +03:00
kobewi 6cec00b099 Remove unused _clear_undo_history method 2022-09-17 21:03:04 +02:00
MinusKube 0ff2020bd4 Fix atlas view drawing roots having zoom applied twice 2022-09-17 19:07:56 +02:00
jeffres 1c98f03784 Fix selected shader file not being highlighted in shader editor list 2022-09-17 17:49:51 +02:00
EliasVincent 52a4327c47 Command Palette shortcut_text: font color 2022-09-16 17:35:57 +02:00
Yuri Sizov 5676341864 Fix loop mode button update in the Animation editor 2022-09-16 16:19:53 +03:00
Rémi Verschelde 3546add9b3 Merge pull request #60786 from Rindbee/update-editor-property-status
Update checked based on the variant type of the value
2022-09-16 09:24:10 +02:00
Rémi Verschelde 37146763b1 Merge pull request #65868 from timothyqiu/metadata-crash
Fix crash open opening Add Metadata dialog
2022-09-16 09:24:02 +02:00
Rémi Verschelde 18ad00b44c Merge pull request #65846 from clayjohn/mem-leak
Free preview sun and environement on editor close
2022-09-16 09:23:54 +02:00
Rémi Verschelde 14c602f032 Merge pull request #65854 from YeldhamDev/add_element_fix
Fix empty text in the add button when editing nodes with items
2022-09-16 09:22:36 +02:00
Rémi Verschelde a981a8061f Merge pull request #65325 from TokageItLab/refactor-variant-for-anim
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
2022-09-16 09:20:50 +02:00
clayjohn 969f20656a Free preview sun and environement on editor close.
Previously, they would only be freed if they were in the editor node tree.
2022-09-15 20:45:19 -07:00
Haoyu Qiu 372e4cfd49 Fix crash open opening Add Metadata dialog 2022-09-16 11:28:09 +08:00
Michael Alexsander 2f016c521f Fix empty text in the add button when editing nodes with items 2022-09-15 22:01:52 -03:00
Rindbee 9066d55763 Update checked based on the variant type of the value
In `EditorProperty::update_revert_and_pin_status`, if `checkable` is `true`, update `checked` based on the variant type of the value, and rename the function as `EditorProperty::update_editor_property_status`.

**Known problems:**
1. Unable to check Checkbox for properties of type `Object` when it is unchecked. This is probably because during value store/fetch, the `nullptr` (variant type is `Variant::OBJECT`) eventually becomes `Variant()` (variant type is `Variant::NIL`).
2. For theme overrides, click the revert icon will uncheck the Checkbox. This is probably because `EditorPropertyRevert::get_property_revert_value` returns `Variant()`.
2022-09-16 07:22:50 +08:00
Aaron Franke 2be9ef507a
Remove unused `abort_scan` variable 2022-09-15 14:23:38 -05:00
Rémi Verschelde 76b41bde3c Merge pull request #65830 from EricEzaM/fix-shortcut-crash
Check TreeItem for nullptr before accessing.
2022-09-15 20:12:18 +02:00
Rémi Verschelde 78a9a3de69 Merge pull request #62903 from Rindbee/fix-property-link-not-work-in-MultiNodeEdit
Set the changed field to empty (meaning all) if the link button is pressed
2022-09-15 20:12:12 +02:00
Rémi Verschelde 80802d2718 Merge pull request #65196 from TokageItLab/fix-redraw-anim-tree
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-15 20:11:36 +02:00
Eric M badea350ac Check TreeItem for nullptr before accessing. 2022-09-15 23:50:52 +10:00
Rémi Verschelde 51082d6e47 Merge pull request #65806 from akien-mga/pm-improve-conversion-dialog
Clarify text in project conversion dialogs
2022-09-15 01:43:09 +02:00