Commit graph

10975 commits

Author SHA1 Message Date
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
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
Rémi Verschelde
e7ce3f539e Project Manager: Clarify text in project conversion dialogs
Let the cancel button grab focus to prevent any accident.

Make the full project conversion respect OS specific ok/cancel
positions.

Improve popup sizing and wrapping a bit.
2022-09-15 01:38:26 +02:00
Lyuma
033abdc59f 2D and 3D Skeleton modification docs, and small fixes.
Mark SkeletonModificationStack3D and related as deprecated.
Mark local bone override and axis functions deprecated in Skeleton3D api.
Fix array property glitch in SkeletonModificationStack2D
Mark SkeletonModificationStack2D and related APIs as experimental. Mark SkeletonIK3D as deprecated.
2022-09-14 15:07:45 -07:00
Silc Renew
9d47e079b7 Move some methods to Animation from Variant for refactoring 2022-09-15 04:52:43 +09:00
Rémi Verschelde
89840b75c9 Merge pull request #65430 from SaracenOne/read_only_array
Add read-only mode to inspector array and dictionary viewer.
2022-09-14 17:43:49 +02:00
Rémi Verschelde
bbed0b43f7 Merge pull request #65774 from bruvzg/no_mono_hinting
Do not use horizontal hinting for the editor monospace font.
2022-09-14 17:42:58 +02:00
Rémi Verschelde
85cd6960c6
Merge pull request #65494 from V-Sekai/fix_inspect_command_context 2022-09-14 14:44:03 +02:00
Rémi Verschelde
50a6905f2d
Merge pull request #65421 from V-Sekai/spriteframes_read_only 2022-09-14 14:42:18 +02:00
Silc Renew
cff95e54e0 Fix redraw timing in AnimationBlendTreeEditor 2022-09-14 21:05:21 +09:00
bruvzg
e94ac75d3d
Do not use horizontal hinting for the editor monospace font. 2022-09-14 11:05:09 +03:00
Rémi Verschelde
d9e974cdb0
Merge pull request #65493 from V-Sekai/lod_scaling
Fixes LOD scaling issues on skinned meshes.
2022-09-14 09:57:02 +02:00
Fredia Huya-Kouadio
9d5e48f873 Disable menus and functionality that are not relevant on the Android Editor port 2022-09-13 20:48:33 -07:00
SaracenOne
13f5c62124 Fix LOD-generation on skinned meshes. 2022-09-14 02:46:10 +01:00