Commit graph

14184 commits

Author SHA1 Message Date
Yuri Sizov
26ba706831 Merge pull request #85845 from YuriSizov/editor-export-hidden-errors
Ensure more export errors are reported to users
2023-12-08 16:59:04 +01:00
Yuri Sizov
9dce1a45a0 Merge pull request #85819 from Malcolmnixon/export-android-build-template
Add option to install android build template for export
2023-12-08 16:58:54 +01:00
Yuri Sizov
7fbaefd244 Merge pull request #85723 from ilyabelow/84609-visual-shader-viewport-texture-error
Add a specific error when creating a ViewportTexture in a Texture2D node
2023-12-08 16:58:39 +01:00
Yuri Sizov
8cb2d20fce Merge pull request #85236 from YuriSizov/editor-flat-remote
Use the flat button style on switches in scene and node docks
2023-12-08 16:58:24 +01:00
Yuri Sizov
959c166866 Merge pull request #83741 from BlueCube3310/path-3d-plugin-optimize
Optimize Path3DGizmo Mesh Generation
2023-12-08 16:58:08 +01:00
Yuri Sizov
2e94be2ea4 Merge pull request #84167 from SaracenOne/cache_mode_replace_fixes
Fix behavior of ResourceFormatLoader `CACHE_MODE_REPLACE`
2023-12-08 15:23:13 +01:00
Yuri Sizov
6c86974022 Merge pull request #84122 from kitbdev/fix-dock-visibility
Fix dock visibility issues
2023-12-08 15:23:09 +01:00
Yuri Sizov
0481a0b8b3 Merge pull request #82528 from SaracenOne/path_types
Add support for exporting script classes without a name
2023-12-08 15:22:48 +01:00
Malcolm Nixon
988c1bf298 Add option to install android build template for export
This PR adds a new "--install-android-build-template" command-line option which causes the android build template to be installed before exporting the project.
2023-12-08 09:00:25 -05:00
Rémi Verschelde
d5ad37afcd
i18n: Sync translations with Weblate
(cherry picked from commit daeb1c7292)
2023-12-07 11:13:54 +01:00
Yuri Sizov
773b4d7764 Ensure more export errors are reported to users
Also fixes the timing issue when exporting all
presets at the same time, where the error report
would try to appear while the progress dialog
was still visible.
2023-12-06 15:26:07 +01:00
Yuri Sizov
44ec0d19d8 Fix size and visuals of the InputEventConfigurationDialog 2023-12-05 16:05:51 +01:00
Rémi Verschelde
1af8228ced
Merge pull request #85585 from jsjtxietian/fix-svg-invisible
Fix SnapGrid is almost invisble in light theme
2023-12-05 15:15:44 +01:00
aXu-AP
a45db4d616 Fix UV editor not showing polygon correctly
Fix polygon not showing correctly if UVs have been moved around. Show the actual contents of the polygon instead.
2023-12-05 15:38:37 +02:00
Rémi Verschelde
36e033bce8
Merge pull request #85312 from YuriSizov/window-and-the-case-of-an-unexpected-shrinkage
Make sure `Window`'s title is respected before we compute the size
2023-12-05 13:05:23 +01:00
Rémi Verschelde
4bc4817055
Merge pull request #84237 from dalexeev/inspector-fix-array-dict-elem-clearing
Inspector: Fix clearing array/dictionary element with `<Object#null>`
2023-12-05 13:05:14 +01:00
Haoyu Qiu
08b1354b36 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.
2023-12-05 17:12:12 +08:00
Danil Alexeev
ed86c33002
Inspector: Fix clearing array/dictionary element with <Object#null> 2023-12-05 08:47:19 +03:00
Rémi Verschelde
6c7d43822c
Merge pull request #85745 from YuriSizov/editor-obey-the-theme-overlord
Fix theme application in various editor dialogs
2023-12-04 23:21:58 +01:00
Rémi Verschelde
6cfb3f61f2
Merge pull request #85556 from bs-mwoerner/wav-import-fix
Fix importing WAV files with odd chunk sizes
2023-12-04 23:19:34 +01:00
Rémi Verschelde
3e7cc5ec32
Merge pull request #85271 from YuriSizov/core-check-please!
Correctly check scripts that must inherit `EditorPlugin`
2023-12-04 23:12:24 +01:00
Rémi Verschelde
a8bc207252
Merge pull request #85181 from TheSofox/reparent-container-undo-fix
Restored Control properties when you undo a parenting of a Control to a Container
2023-12-04 23:10:51 +01:00
Rémi Verschelde
beb454c528
Merge pull request #85087 from EelisOtsamo/fix_scene_drag_and_drop
Fix issue with 3D scene drag and drop preview node
2023-12-04 23:10:01 +01:00
Rémi Verschelde
ff151bb9aa
Merge pull request #85061 from SaracenOne/imported_slices_fix
Fix imported track flag on sliced animations.
2023-12-04 23:09:37 +01:00
Rémi Verschelde
764e468066
Merge pull request #84933 from Calinou/editor-multimesh-populate-fix-node-type
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog
2023-12-04 23:07:58 +01:00
Rémi Verschelde
8b3ba7e074
Merge pull request #84891 from Calinou/editor-particles-generate-emission-fix-node-type
Only allow MeshInstance3D-based nodes in particles emission shape node selector
2023-12-04 23:07:34 +01:00
Rémi Verschelde
be585ac644
Merge pull request #84594 from reduz/default-commented-light-shader
Comment the shader template light function by default
2023-12-04 23:04:50 +01:00
Rémi Verschelde
2b913cc84a
Merge pull request #84520 from Jordyfel/just-another-move-bug
Fix errors on file rename or move in the Filesystem Dock
2023-12-04 23:04:00 +01:00
Rémi Verschelde
98882f1c69
Merge pull request #84310 from timothyqiu/dnd
Allow dragging editable children
2023-12-04 23:02:45 +01:00
Rémi Verschelde
9108445eca
Merge pull request #84076 from aXu-AP/uv-editor-texture-transform
Fix UV editor not using texture transform
2023-12-04 23:00:54 +01:00
Michael Wörner
29810376b8 Fixed reading WAV files with odd chunk sizes.
These require a padding byte not included in the chunk size.
2023-12-04 20:01:34 +01:00
Yuri Sizov
01888ae7ab 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.
2023-12-04 13:18:48 +01:00
ilyabelow
429f24e665 Add a specific error when creating a ViewportTexture in a Texture2D node in a Visual Shader 2023-12-04 15:16:43 +04:00
jsjtxietian
926e22d2ab Fix SnapGrid is almost invisble in light theme 2023-12-01 18:51:45 +08: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
Yuri Sizov
d9677be0ca Make sure Window's title is respected before we compute the size
Also removes some suspicious and outdated code that forced this particular
dialog to change size when the warning message changed.
2023-11-24 16:31:41 +01:00
oeelis
834ccb9698 Fix issue with 3D scene drag and drop preview node 2023-11-24 15:44:51 +02:00
Yuri Sizov
bc1949d797 Correctly check scripts that must inherit EditorPlugin
Also updates some error messages related to this kind of check
across the codebase.
2023-11-23 16:24:43 +01: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
b1d6e336ea Use the flat button style on switches in scene and node docks 2023-11-22 20:10:35 +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
Sofox
5614e6d61c Restored Control layout properties you undo a parenting of a Control to a Container 2023-11-22 09:37:17 +00:00