Commit Graph

14261 Commits

Author SHA1 Message Date
kevmorg da84489b27
Hide Node dock successfully on undo/redo and deletion
Fixes #84530.
2023-12-12 10:26:05 +01:00
Aaron Franke 52f1b86ebc
Fix referring to ResourceImporterScene static importers via instances 2023-12-11 20:01:39 -06:00
Rémi Verschelde abaf99d22d
Merge pull request #86031 from YuriSizov/editor-icons-for-groups
Fix theme access in the Groups editor
2023-12-12 00:34:12 +01:00
Rémi Verschelde e551672c2d
Merge pull request #85922 from Listwon/fix-uid-corruption-on-reimport-80132
Prevent overriding file info of another file when reimport creates extra files
2023-12-12 00:33:25 +01:00
Rémi Verschelde 8f2b5cc109
Merge pull request #82899 from aaronfranke/import-settings-dialogs
Rename ImportSettings dialogs to have "Dialog" in the name
2023-12-12 00:15:59 +01:00
kobewi fc7cdd5c37 Disable Add button when theme item name is empty 2023-12-11 22:21:36 +01:00
Rémi Verschelde 6882e5042d
i18n: Sync translations with Weblate
(cherry picked from commit 1dee633c91)
2023-12-11 22:10:21 +01:00
Yuri Sizov 0244f8318f Fix theme access in the Groups editor 2023-12-11 14:34:05 +01:00
Bartłomiej T. Listwon aae48ac2b6 Prevent overriding file info of another file when reimport creates files 2023-12-08 22:17:51 +01:00
Yuri Sizov aec890b496 Merge pull request #81169 from MewPurPur/texture-abstract-icons
Add Texture2D and Texture3D icons
2023-12-08 18:45:48 +01:00
Yuri Sizov 07677f0f51 Merge pull request #85885 from YuriSizov/bench-pressing
Improve engine startup/shutdown benchmarks
2023-12-08 17:12:26 +01:00
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
Yuri Sizov fc3f40f37d Improve engine startup/shutdown benchmarks
- Add contexts to give a better sense of benchmarked areas.
- Add missing benchmarks and adjust some begin/end points.
- Clean up names.
- Improve Android's internal benchmarks in a similar manner.

Co-authored-by: Fredia Huya-Kouadio <fhuya@meta.com>
2023-12-08 12:53:04 +01: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
Rakka Rage 35444b28e3 Add toaster notifications for import warning. 2023-12-05 16:25:04 -05:00
MewPurPur 6cdd406c3d Add Texture2D and Texture3D icons 2023-12-05 19:21:04 +02: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
Steve Tibbett 86db8f921d Fix for Cmd-B conflict on macOS, where Cmd-B was
both "Build Project" and "Go to Next Bookmark".
2023-11-30 06:58:52 -05: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
BleedingXiko 971b0a7bda
fix typo in tile_map_editor.cpp 2023-11-27 16:40:38 -08:00
bruvzg 27ca31f359 [Editor] Save and restore previous window mode when toggling full-screen. 2023-11-27 12:44:30 +02:00
Aaron Franke a8dc34b8f0
Rename ImportSettings dialogs to have "Dialog" in the name 2023-11-26 22:59:01 -06:00
Flavelius d9e3acece2 Make Copy->paste Params skip resource_path
Resource path should not be attempted to be taken over, as that's not intended for copy-paste and fails anyway, but this results in the whole paste operation failing as well
2023-11-25 22:35:51 +01: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
David Snopek ce488930ea Remove GI methods in parentheses from light baking options 2023-11-22 08:42:40 -06: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
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
Hugo Locurcio c6a16b176e
Only allow MeshInstance3D-based nodes in particles emission shape node selector
This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.
2023-11-19 11:22:51 +01:00
Saracen 57f1e5dcdc Fix imported track flag on sliced animations. 2023-11-18 15:36:33 +00:00
Pedro J. Estébanez fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
bruvzg 932174fedf
[Editor] Add option to override editor UI layout direction. 2023-11-17 14:56:45 +02: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
Saracen f392a9c4f8 Fix CACHE_MODE_REPLACE 2023-11-15 18:55:20 +00:00
Stanislav Labzyuk ff8797e980 Implement disabled state for Checkbox in Tree 2023-11-15 17:13:34 +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
Hugo Locurcio dc3194f668
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog 2023-11-15 12:24:11 +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
Ricardo Subtil 760ff2e933 Fix DAP breakpoints being cleared on closed scripts 2023-11-14 16:51:38 +00: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
Nikita Krasnov 0d6300d269 Fix folder color not showing up in file dialogs 2023-11-14 17:17:10 +03: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