Danil Alexeev
d25e28d9ae
Inspector: Fix clearing array/dictionary element with <Object#null>
...
(cherry picked from commit ed86c33002
)
2023-12-07 10:27:08 +01:00
Haoyu Qiu
5db5f0b52b
Set language encoding flag when using ZIPPacker
...
When non-ASCII filenames are used, this indicates that the encoding is
UTF-8. Programs like ZIPReader can then parse the filename correctly.
(cherry picked from commit 08b1354b36
)
2023-12-07 10:27:08 +01:00
Haoyu Qiu
476bc362e5
Allow dragging editable children
...
But not allow dropping inside the scene tree editor.
(cherry picked from commit 3f00d713b8
)
2023-12-07 10:27:07 +01:00
Jordyfel
bd7d37b5ee
Fix errors on file rename or move in the Filesystem Dock
...
(cherry picked from commit 76c7190d21
)
2023-12-07 10:27:07 +01:00
Yuri Sizov
d93fcf824f
Fix theme application in various editor dialogs
...
99% of the time we shouldn't rely on the signal, we
should use the notification instead. I left some comments
in places where I couldn't quickly improve the code.
(cherry picked from commit 01888ae7ab
)
2023-12-07 10:27:06 +01:00
Yuri Sizov
4564a8513a
Correctly check scripts that must inherit EditorPlugin
...
Also updates some error messages related to this kind of check
across the codebase.
(cherry picked from commit bc1949d797
)
2023-12-07 10:27:06 +01:00
Sofox
21a510b5ea
Restored Control layout properties you undo a parenting of a Control to a Container
...
(cherry picked from commit 5614e6d61c
)
2023-12-07 10:27:06 +01:00
Michael Wörner
b642489dc4
Fixed reading WAV files with odd chunk sizes.
...
These require a padding byte not included in the chunk size.
(cherry picked from commit 29810376b8
)
2023-12-07 10:27:04 +01:00
oeelis
4ddcfb5fb3
Fix issue with 3D scene drag and drop preview node
...
(cherry picked from commit 834ccb9698
)
2023-12-07 10:27:04 +01:00
Hugo Locurcio
7fb0ec04c2
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog
...
(cherry picked from commit dc3194f668
)
2023-12-07 10:27:04 +01:00
Hugo Locurcio
f84ee53a9a
Only allow MeshInstance3D-based nodes in particles emission shape node selector
...
This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.
(cherry picked from commit c6a16b176e
)
2023-12-07 10:27:04 +01:00
Saracen
7b9bf3df64
Fix imported track flag on sliced animations.
...
(cherry picked from commit 57f1e5dcdc
)
2023-12-07 10:27:03 +01:00
Juan Linietsky
bd2cad52ed
Comment the shader template light function by default
...
This is a minor usability tweak.
The light functions replace the default ones, so even if empty
they will avoid the current shader to have proper lighting and
users will have no idea why.
Code was changed to have the shader function commented by default,
indicating that uncommenting replaces the default function.
(cherry picked from commit c430ff2396
)
2023-12-07 10:27:03 +01:00
aXu-AP
ffe935815e
Fix UV editor not using texture transform
...
(cherry picked from commit d7e5c25e4a
)
2023-12-07 10:27:02 +01:00
Yuri Sizov
3a67eb2675
Disable a prohibitively slow code branch when reparenting nodes
2023-11-29 17:39:39 +01:00
Rémi Verschelde
c17d73f140
i18n: Sync translations with Weblate
2023-11-29 17:21:35 +01:00
bruvzg
27ca31f359
[Editor] Save and restore previous window mode when toggling full-screen.
2023-11-27 12:44:30 +02:00
clayjohn
549a83eee2
Suppress surface upgrade warnings when showing SurfaceUpgradeTool warning
...
Also ensure the EditorProgress dialogue shows correct numbers
2023-11-22 15:35:50 -07:00
Rémi Verschelde
fa4a65387e
Merge pull request #85227 from KoBeWi/when_two_IDs_fight_the_editor_suffers
...
Fix crash caused by conflicting menu option IDs
2023-11-22 21:57:14 +01:00
Yuri Sizov
10b70e2498
Rework the surface upgrade tool to inform users without blocking
...
This removes the immediate confirmation dialog and insteads prints the
message to the editor log (and it also appears as a toast). The immediate dialog
is a devil's plaything, and it cannot be used in this scenario (if it can be used
anywhere at all). The condition that triggers the SUT can happen during any
attempt by the rendering server to read a mesh. This means it will conflict
with a number of editor processes, like loading, importing, preview
generation, export, CLI mode, etc.
So while this is less on the nose as far as informing users goes, it's also
our best option to use the log and the toaster.
2023-11-22 19:03:14 +01:00
kobewi
c6fec68a3e
Fix crash caused by conflicting menu option IDs
2023-11-22 17:28:40 +01:00
Rémi Verschelde
a34814b0b6
Merge pull request #85205 from jsjtxietian/grab-focus
...
Set some window in visual shader editor to be exclusive
2023-11-22 13:59:50 +01:00
Rémi Verschelde
ca245295ae
Merge pull request #85193 from TokageItLab/fix-seek-mixer
...
Fix seeking bug in AnimationPlayerEditor
2023-11-22 13:59:45 +01:00
Rémi Verschelde
51bca1b586
Merge pull request #85154 from KoBeWi/yo_dawg_I_heard_you_like_saving_scen-JUST_STOP_IT
...
Avoid saving scene while already saving the scene
2023-11-22 13:59:37 +01:00
jsjtxietian
b7ba667dcf
Set some window in visual shader editor to be exclusive
2023-11-22 17:58:18 +08:00
Silc Lizard (Tokage) Renew
21833f3dfd
Fix seeking bug in AnimationPlayerEditor
2023-11-22 06:43:26 +09:00
Rémi Verschelde
7022271291
i18n: Sync translations with Weblate
2023-11-21 16:08:36 +01:00
Rémi Verschelde
c2f8fb3015
Merge pull request #85039 from RandomShaper/mingwthreads
...
Use mingw-std-threads in MinGW builds
2023-11-21 15:44:18 +01:00
Rémi Verschelde
fa259a77cd
Codestyle: Fix some comment issues
2023-11-21 15:26:53 +01:00
Rémi Verschelde
9c0692f30e
Merge pull request #85169 from jsjtxietian/fix-project-name-overriden
...
Fix project name being overwritten everytime `show_dialog` is called
2023-11-21 15:06:55 +01:00
jsjtxietian
b8d7a43f73
Fix project name being overwrite everytime show_dialog
is called
2023-11-21 19:50:01 +08:00
kobewi
d84ba48d8f
Avoid saving scene while already saving the scene
2023-11-20 21:57:21 +01:00
kobewi
2c72558ad0
Add Save As... option to EditorResourcePicker
2023-11-20 21:05:17 +01:00
Yuri Sizov
fdaee9ee89
Prevent the surface upgrade tool from running during export
...
Also add an explicit way to trigger the tool manually
at user's will.
2023-11-20 15:36:45 +01:00
Pedro J. Estébanez
fe4850c0d0
Use mingw-std-threads in MinGW builds
2023-11-18 11:56:05 +01:00
Rémi Verschelde
80e1672836
i18n: Sync translations with Weblate
2023-11-16 17:38:43 +01:00
Rémi Verschelde
b049ac43ba
Merge pull request #84927 from bruvzg/macos_ext_frame_upd
...
[macOS] Process events before changing title style to update window frame.
2023-11-16 14:52:28 +01:00
Rémi Verschelde
cc135c5821
Merge pull request #84931 from YuriSizov/editor-hot-topic-hot-keys
...
Make script/shader editor save shortcuts unique again
2023-11-15 14:32:22 +01:00
Rémi Verschelde
d89c5313a5
Merge pull request #83290 from trollodel/move_progress_dialog_on_open
...
Keep focus on floating window when showing ProgressDialog
2023-11-15 14:32:07 +01:00
Yuri Sizov
0f5a14c397
Make script/shader editor save shortcuts unique again
2023-11-15 14:10:12 +01:00
Rémi Verschelde
6d47eff457
Merge pull request #83104 from jsjtxietian/fix-crash-when-reimport-animation-while-playing
...
Fix editor crash when re-importing GLTF while animation is playing
2023-11-15 13:15:54 +01:00
bruvzg
c64c1053e9
[macOS] Process events before changing title style to update window frame.
2023-11-15 09:33:23 +02:00
jsjtxietian
3c10493d0b
Fix Editor crash when re-importing GLTF while animation is playing
2023-11-15 11:13:42 +08:00
Rémi Verschelde
6197f0952b
Merge pull request #84872 from alesliehughes/res_import_scene
...
Fix Resource Importer use after free
2023-11-14 23:30:53 +01:00
Rémi Verschelde
ff5ac866e8
Donors: Change tiers to match Dev Fund, sync latest data
...
The new list includes all donors listed on fund.godotengine.org,
together with the ones still on Patreon on matching tiers.
We haven't yet updated Patreon tiers to match the Dev Fund, so donors
who used to be listed under "Silver donors" are now grandfathered under
the "Gold members" category from the Dev Fund.
2023-11-14 15:40:44 +01:00
Alistair Leslie-Hughes
b0e0615075
Fix Resource Importer use after free
2023-11-14 16:39:41 +11:00
Rémi Verschelde
85ecb853cf
Merge pull request #83652 from KoBeWi/PROPERTY_HINT_DOC_IS_FULL
...
Fill remaining global scope constant descriptions
2023-11-14 00:02:58 +01:00
kobewi
da55c06322
Save scene when saving built-in resource
2023-11-13 16:34:17 +01:00
kobewi
4296f0a771
Fill remaining global scope constant descriptions
2023-11-13 15:17:10 +01:00
Rémi Verschelde
4123f1371f
Merge pull request #84797 from akien-mga/silence-warning-about-skipping-dirs-with-godot-project
...
Remove EditorFileDialog warning when skipping project directories
2023-11-12 23:00:54 +01:00
Rémi Verschelde
5a5b456fca
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
...
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
Rémi Verschelde
e03f47cb7c
Remove EditorFileDialog warning when skipping project directories
...
We might need better UX to handle this in EditorFileDialog, showing the
directories as greyed out with a tooltip, but for now this silences a warning
that users have no control over.
We keep the warning only in the initial project scan.
2023-11-12 19:05:05 +01:00
Rémi Verschelde
d443f127ef
Merge pull request #83708 from Guilhermev25/shaders-renames
...
Fix wrong shader rename
2023-11-12 16:57:00 +01:00
Rémi Verschelde
3e23755d24
Merge pull request #83430 from RandomShaper/fix_onion_audio
...
Fix onion skinning internals activating audio/method/animation tracks
2023-11-12 16:56:30 +01:00
Rémi Verschelde
87ba798cba
Merge pull request #84779 from m4gr3d/keep_android_build_window_open_on_failure
...
Preserve the output from the gradle build command
2023-11-12 12:15:54 +01:00
Fredia Huya-Kouadio
136b7f9c52
Preserve the output from the gradle build command
...
Updates `EditorNode#execute_and_show_output(...)` to return the output of the executed command.
2023-11-12 12:07:04 +01:00
Rémi Verschelde
15b8185c68
Don't use TTR/RTR for ERR/WARN prints
...
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
Rémi Verschelde
4e867b5835
Merge pull request #84762 from timothyqiu/snap-mode
...
Fix texture region editor not selecting restored snap mode
2023-11-11 23:06:24 +01:00
Rémi Verschelde
97a102caf6
Merge pull request #84052 from SaracenOne/animtree_readonly_context
...
Unpress buttons in AnimationTree when switching to read-only mode.
2023-11-11 23:05:37 +01:00
Haoyu Qiu
64fb22e17b
Fix texture region editor not selecting restored snap mode
2023-11-12 01:41:51 +08:00
Rémi Verschelde
848f93f989
Merge pull request #84716 from YuriSizov/3d-resource-previews-are-out-to-get-you
...
Abort threaded preview generators on exit
2023-11-10 21:56:10 +01:00
Rémi Verschelde
96fa86f9a0
Merge pull request #84557 from TheSofox/undo-history-sync-fix
...
Fix for stopping the Undo History being desynchronised from actual Undo queue
2023-11-10 21:55:46 +01:00
Rémi Verschelde
bdd9034ad0
i18n: Sync translations with Weblate
2023-11-10 16:30:40 +01:00
Yuri Sizov
e90ea87b42
Abort threaded preview generators on exit
2023-11-10 15:31:43 +01:00
Sofox
662522ae5a
Fix for stopping the Undo History being desynchronised from actual Undo queue.
2023-11-10 13:04:12 +00:00
Rémi Verschelde
8c53a72a49
Merge pull request #84661 from Sauermann/fix-cursor-in-advanced-importer
...
Fix stuck cursor in Advanced Scene Importer
2023-11-10 10:45:43 +01:00
Rémi Verschelde
dfe2df989d
Merge pull request #84493 from bruvzg/gde_ios_static_fix
...
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
Rémi Verschelde
38c3e5aae9
Merge pull request #82956 from Chtau/GDScript-external-Editor-Engine-crash
...
Fixes internal Script Editor crash with External Editor active
2023-11-10 10:43:58 +01:00
bruvzg
d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-09 20:04:40 +02:00
Rémi Verschelde
75d27e3893
Merge pull request #79832 from DarkMessiah/fix-autoload-settings
...
Fix undo methods for DELETE in EditorAutoloadSettings
2023-11-09 18:06:28 +01:00
kobewi
aff49d3a76
Fix missing arrows in integer vector properties
2023-11-09 17:35:15 +01:00
Markus Sauermann
75b4ea05a4
Fix stuck cursor in Advanced Scene Importer
...
Display an Arrow mouse cursor, while the mouse is moved within the
`SubViewportContainer` of the Advanced Scene Importer.
2023-11-09 12:50:13 +01:00
Rémi Verschelde
d1381bbca2
Merge pull request #84625 from KoBeWi/yeet_sprite_node()
...
Remove AnimatedSprite pointer when clearing editor
2023-11-09 11:48:12 +01:00
Rémi Verschelde
26f1c503ec
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
...
Fix node names of submenu items across the editor
2023-11-09 11:47:24 +01:00
Rémi Verschelde
432c75d6af
Merge pull request #83081 from Rindbee/fix-wrong-split
...
Fix `EditorFileSystemDirectory::get_file_deps()` may return wrong result
2023-11-09 11:45:21 +01:00
Rémi Verschelde
e5bacbc471
Merge pull request #84628 from KoBeWi/no_meta_only_path
...
Don't store shader edit path in metadata
2023-11-08 19:18:55 +01:00
kobewi
9c810ef061
Don't store shader edit path in metadata
2023-11-08 19:14:16 +01:00
kobewi
55f7d493ee
Remove AnimatedSprite pointer when clearing editor
2023-11-08 18:09:42 +01:00
Yuri Sizov
b04b546092
Fix node names of submenu items across the editor
...
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
Yuri Sizov
e7dba3b064
Correctly set up shortcut context in the shader editor
2023-11-08 13:07:31 +01:00
Yuri Sizov
3e7f638d7b
Merge pull request #84570 from clayjohn/editor-headless-scan
...
Scan the filesystem in the first frame when using headless mode
2023-11-07 12:54:41 +01:00
Yuri Sizov
a956f2f21c
Merge pull request #84551 from KoBeWi/manage_animations_like_a_proper_human_being
...
Change AnimationLibEditor's mixer to actual Mixer
2023-11-07 12:54:38 +01:00
clayjohn
95fbb2ecb2
Scan the filesystem in the first frame when using headless mode
2023-11-07 10:46:56 +01:00
kobewi
01bd005a1f
Change AnimationLibEditor's mixer to actual Mixer
2023-11-06 23:27:44 +01:00
Nikita Krasnov
c0a18e17ba
Fix pressing Enter being ignored in "Create Shader" dialogue
2023-11-06 19:20:18 +03:00
Yuri Sizov
14cc639bc3
Merge pull request #81018 from jsjtxietian/return-use-friendly-info-in-scriptStackVariable-serialize
...
Fix `_get_debug_tooltip` crash if tooltip string is too large
2023-11-06 15:43:21 +01:00
Yuri Sizov
fae8ace6fb
Merge pull request #84361 from YuriSizov/editor-fix-sprite2d-regional-issues
...
Prevent crash and error spam related to Sprite2D with a region
2023-11-06 13:23:11 +01:00
Yuri Sizov
3c68ab679a
Merge pull request #84271 from aaronfranke/gltf-compat-version
...
Implement glTF compat version system for files from older Godot versions
2023-11-06 13:23:07 +01:00
Yuri Sizov
8b11ae9cf5
Merge pull request #83596 from SaracenOne/node_copy_paste_fix
...
Fix ownership bugs in node copy and pasting.
2023-11-06 13:23:03 +01:00
Yuri Sizov
a8bcbff59f
Merge pull request #82133 from MewPurPur/svg-tweaks
...
Optimize and tweak some SVGs, improve consistency between icons, and fix broken masks in light mode
2023-11-06 13:22:59 +01:00
jsjtxietian
155d738163
Fix _get_debug_tooltip will crash if tooltip string is too large
2023-11-06 20:09:17 +08:00
Saracen
26576cc210
Fix ownership bugs in node copy and pasting.
2023-11-04 20:14:09 +00:00
MewPurPur
03d1830176
Optimize, tweak, improve consistency in SVG icons, and fix masks in light mode
2023-11-04 17:36:18 +02:00
Yuri Sizov
111a5e90da
Prevent crash and error spam related to Sprite2D with a region
2023-11-04 13:03:28 +01:00
Aaron Franke
58076b9ccb
Implement glTF compat version system for files from older Godot versions
2023-11-03 12:07:25 -05:00
Yuri Sizov
5ee983188d
Merge pull request #84404 from MewPurPur/engine-config-old-icon-convention
...
Fix engine configuration icons using old convention
2023-11-03 12:52:37 +01:00
Yuri Sizov
64705bc3af
Merge pull request #84374 from AThousandShips/format_fix
...
Fix inverted condition when unwrapping lightmap
2023-11-03 12:52:28 +01:00
Yuri Sizov
c929f79f99
Merge pull request #84282 from SaracenOne/animation_rename
...
Fix perform_node_renames handling of AnimationMixers track paths
2023-11-03 12:52:24 +01:00
Yuri Sizov
330d22e99a
Merge pull request #84217 from SaracenOne/fix_filesystem_rename_crash
...
Fix file rename crash after toggling split mode.
2023-11-03 12:52:20 +01:00
Yuri Sizov
802813d8f9
Merge pull request #83036 from jsjtxietian/move-animation-slice-processing-to-_post_fix_animations
...
Move animation slice processing to `_post_fix_animations`
2023-11-03 12:52:08 +01:00