Commit Graph

14412 Commits

Author SHA1 Message Date
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
kobewi c5b742a06b Improve Control hiding in PluginConfigDialog 2023-11-28 14:59:34 +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
Marcin Nowak 561fcf54a4 Fix #82756: Save branch as scene saves children without owner set 2023-11-16 01:14:04 +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 4680ced5fa support updating tooltip after editor description change 2023-11-15 14:27:49 +08: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
Ricardo Subtil 485342408b Prevent race condition on initial breakpoints from DAP 2023-11-14 15:56:03 +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
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
Cerno_b 9a684cf199 Clarify description of "group selected" 2023-11-12 10:53:44 +01:00
aXu-AP cb88108d9f Readd rect support for Sprite2DPlugin converter
Readds support for rects for sprite to mesh/polygon converter.
Adds support for conversion from animation frame.
Fixes converter not taking offset into account.
Fixes 1 pixel shift when converting flipped sprites.
2023-11-12 11:49:37 +02: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
Jordyfel 76c7190d21 Fix errors on file rename or move in the Filesystem Dock 2023-11-10 14:09:21 +02: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
Saracen 7559eb1667 Script path type support in editor:
Allow script path type hints to be used in drag and drop
and scene tree popup.
2023-11-08 00:18:40 +00:00
Juan Linietsky c430ff2396 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.
2023-11-07 23:20:45 +01:00
aXu-AP 1ee4aa11b6 Add zoom controls to Sprite2DPlugin 2023-11-07 20:30:33 +02:00
Michael Alexsander 0f37ee8e9a
Allow to load multiple animation/libraries at once in the animation manager 2023-11-07 11:00:45 -03: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
Hugo Locurcio 079f1c8ead
Display a revert icon on ColorPicker's old sample
This denotes that the color can be clicked to revert to the old color.
2023-11-07 10:04:39 +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
Juan Manuel Costello aa2522edcd Fix material drop 2023-11-06 12:57:19 -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
jsjtxietian 8f6e8ef0d7 clean unnecessay copy detected by clang-tidy 2023-11-06 16:22:32 +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
MewPurPur e0399689f4 Fix engine configuration icons using old convention 2023-11-03 12:50:12 +02:00
Saracen 4f0790a214 Fix perform_node_renames handling of AnimationMixers track paths 2023-11-02 21:38:32 +00:00
Saracen 7fea0cef4c Fix file rename crash after toggling split mode. 2023-11-02 21:29:01 +00:00
Yuri Sizov b733901e9e Merge pull request #84354 from RandomShaper/gdext_no_cache_doc
Polish & fix editor help cache generation
2023-11-02 20:34:22 +01:00
A Thousand Ships 2cb94fa362 Fix inverted condition when unwrapping lightmap 2023-11-02 18:33:58 +01:00
Pedro J. Estébanez a1d8fc1af9 Polish & fix editor help cache generation
- Isolated the generation of extensions's docs. They're now not cached and refreshed as needed.
- Removed superfluous sorting of the class list.
- Removed some superfluous/unused elements.
- Renamed some items for clarity.
2023-11-02 13:46:37 +01:00
Rémi Verschelde 44a54f4500
Merge pull request #84252 from clayjohn/ensure_tangents
Enhance checks and user experience around tangent arrays in meshes.
2023-11-02 09:11:32 +01:00
Rémi Verschelde 64bb27aefd
Merge pull request #83600 from jsjtxietian/make-translation-import-more-robust
Make translation importer skip not-supported lang tag, make it more robust
2023-11-02 09:11:00 +01:00
clayjohn d1043a5f93 Enhance checks and user experience around tangents.
Ensure `ensure_tangents` option actually creates tangent array. Even if it is just a dummy array.

Allow mesh to generate its own tangents when using compression. This allows users to compress meshes without tangents.

Warn users if they are trying to read from tangents without providing tangents.
2023-11-01 22:40:42 +01:00
Rémi Verschelde 98baac7172
Merge pull request #84200 from clayjohn/surface-upgrade-tool-rework
Overhaul the SurfaceUpgradeTool
2023-11-01 22:32:09 +01:00
Haoyu Qiu 3f00d713b8 Allow dragging editable children
But not allow dropping inside the scene tree editor.
2023-11-01 23:54:38 +08:00
clayjohn be386e1876 Overhaul the SurfaceUpgradeTool
This defers the update to a fresh restart of the editor (to ensure we aren't mid way through loading scenes anymore.

It also ensures that the popup can't be used by multiple threads at once

Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-11-01 15:32:54 +01:00
Rémi Verschelde b797f6cb83
Merge pull request #84302 from YuriSizov/editor-forget-about-file-dialogs-willya
Disconnect `EditorNode` from file dialogs on destruction
2023-11-01 15:13:18 +01:00
Rémi Verschelde 2d64e52b08
Merge pull request #84296 from bruvzg/ver_validate
[Export] Improve app / file version validation.
2023-11-01 15:12:07 +01:00
Rémi Verschelde 8a403e7432
Merge pull request #84291 from jsjtxietian/fix-import-default-save-failed
Fix press save in Import Defaults did not save the changed setting
2023-11-01 15:11:43 +01:00
Yuri Sizov 8c39a2d169 Disconnect `EditorNode` from file dialogs on destruction 2023-11-01 13:01:28 +01:00
bruvzg a0bd5f8568
[Export] Improve app / file version validation. 2023-11-01 11:25:44 +02:00
jsjtxietian 255db4df68 Fix press save in Import Defaults did not save the changed setting 2023-11-01 15:45:51 +08:00
Hayden Leete 887fd08260 preserve inspector focus when opening script 2023-11-01 18:19:27 +13:00
Rémi Verschelde 8fc215893a
Merge pull request #84257 from KoBeWi/eradicate_folding_2-coiled_agony_returns_under_moonlight
Make remote inspector groups not foldable
2023-10-31 20:16:40 +01:00
Rémi Verschelde 7c2acfdf17
Merge pull request #84208 from YuriSizov/editor-animation-that-pops
Avoid popping up dialogs excessively in the Animation editor
2023-10-31 20:16:16 +01:00
Rémi Verschelde f1f92bdb30
Merge pull request #84049 from kleonc/node3d-editor-plugin-snapping
Fix some `Node3DEditor` snapping issues
2023-10-31 20:15:30 +01:00
aXu-AP 414d84b159 Fix nodes being deselected upon reparenting 2023-10-31 21:15:04 +02:00
kobewi a92ed50777 Make remote inspector groups not foldable 2023-10-31 17:29:53 +01:00
Rémi Verschelde 6271f91a8f
Merge pull request #84218 from SaracenOne/naming_conflict_crash
Fix crash on rename collision in thumbnail grid
2023-10-31 13:46:38 +01:00
Yuri Sizov 60355889f8 Avoid popping up dialogs excessively in the Animation editor 2023-10-31 11:54:02 +01:00
Saracen c640018b88 Fix crash on rename collision in thumbnail grid 2023-10-30 22:52:12 +00:00
Rémi Verschelde ec5bfbd176
Merge pull request #82707 from BrianMacIntosh/find-highlight-fix
Search terms are now highlighted when the bar opens with a selection.
2023-10-30 23:17:45 +01:00
Rémi Verschelde ca6b404739
Merge pull request #79725 from Calinou/editor-export-mode-clarify-heading
Improve headings for the export mode in the Export dialog
2023-10-30 23:16:54 +01:00
Brian MacIntosh 0d7db935aa Search terms are now highlighted when the bar opens with a selection.
This is achieved by triggering a search when the bar opens. This is slightly inefficient but cleanly updates everything that's dependent on the search and reduces code duplication.
2023-10-30 10:21:25 -07:00
Rémi Verschelde 8f0b742a9a
Merge pull request #83576 from raulsntos/fix-80883
Enable new addon after hiding ProjectSettings
2023-10-30 17:47:23 +01:00
Rémi Verschelde dcde5ba25a
Merge pull request #84129 from SaracenOne/better_warning_for_track_hint_fail
Add descriptive warning for animation track hint fails.
2023-10-30 16:27:03 +01:00
Rémi Verschelde 55fca13dc5
Merge pull request #82570 from 100gold/preprocessor_in_vshader_editor
Add preprocessor pass on visual shader when showing generated code
2023-10-30 16:25:51 +01:00
Rémi Verschelde a7c81f4275
Merge pull request #73981 from stmSi/fix-filter-files-shortcut-input-not-handling
Fix Filter Files shortcut input is not properly handled
2023-10-30 16:25:24 +01:00
kit a2674463fa fix dock visibility issues 2023-10-30 10:52:07 -04:00
Saracen 8db9884dd5 Add descriptive warning for animation track hint fails. 2023-10-30 14:34:15 +00:00
Rémi Verschelde 030dcedf93
Merge pull request #84170 from SaracenOne/update_anim_timeline_label
Fix AnimationTimeline time not updating when dragged.
2023-10-30 13:57:16 +01:00
Rémi Verschelde e2c79bcb95
Merge pull request #82471 from SaracenOne/recache_bone_attachment
Reimport bone attachment fixes
2023-10-30 10:18:00 +01:00
Saracen d9950e2370 Fix AnimationTimeline time not updating when dragged. 2023-10-30 01:59:54 +00:00
100gold 0486d40f14 Add preprocessor pass on visual shader when showing generated code 2023-10-29 19:12:08 +03:00
Rémi Verschelde b096174259
Merge pull request #84064 from jsjtxietian/fix-save-in-text-shader-editor-pass-through
Add save shortcut for text shader editor to prevent it propagating to scene
2023-10-28 18:35:21 +02:00
Rémi Verschelde dc3a643541
Merge pull request #83934 from KoBeWi/give_back_animations_to_animation_editor
Fix animation track paths updated by scene dock
2023-10-28 18:34:10 +02:00
Rémi Verschelde e7a25b262c
Merge pull request #83370 from SaracenOne/unique_name_subscene
Remove toggling of unique names in subscenes
2023-10-28 18:33:42 +02:00
Jonathan Nicholl 1419eefcc6 Allow changing keys for imported AnimationLibraries in the editor 2023-10-28 08:35:01 -04:00
Rémi Verschelde ba1bd6fc15
Merge pull request #84077 from KoBeWi/this_path_is_valid_change_my_mind
Ignore path error for built-in scripts/shaders
2023-10-28 12:32:01 +02:00
Rémi Verschelde b6c941fe9c
Merge pull request #83822 from jsjtxietian/fix-can-not-uncomment-in-text-shader-editor
Fix unable to uncomment code in text shader editor
2023-10-28 12:31:14 +02:00
Rémi Verschelde fe64786a91
Merge pull request #83498 from SaracenOne/mesh_unwrap_rules
Mesh instance UV2 unwrapping improvements
2023-10-28 12:30:22 +02:00
Saracen e865bad06a Mesh instance UV2 unwrapping improvements:
Enforce foreign resource modification rules.
Add more helpful error handling for ArrayMesh unwrapping.
2023-10-28 03:04:15 +01:00
Saracen 29c2615352 Remove toggling of unique names in subscenes 2023-10-28 02:55:45 +01:00
kobewi a7fa34db1d Ignore path error for built-in scripts/shaders 2023-10-27 21:49:34 +02:00
Saracen 4b671eec0e Reimport bone attachment fixes:
Assign bone_idx to GLTF importer to fix serialization.
Notifies Skeletons and BoneAttachments when reimporting.
Removes usage of NOTIFICATION_NODE_RECACHE_REQUESTED
2023-10-27 20:34:01 +01:00
aXu-AP d7e5c25e4a Fix UV editor not using texture transform 2023-10-27 22:33:37 +03:00
aXu-AP aa3568b8dd Fix 2D bone weight editor not accounting for offset
Skeleton was shown in wrong place in Polygon2D UV editor's bone painting mode.
2023-10-27 20:37:23 +03:00
jsjtxietian 775adc0a6d Add save shortcut for text shader editor to prevent it propagated to scene
when hit ctrl s in the shader editor
2023-10-28 00:53:03 +08:00
Rémi Verschelde b662d232a2
Merge pull request #84055 from smix8/navobstacle_editor
Fix NavigationObstacle3DEditor parenting error
2023-10-27 17:46:11 +02:00
Rémi Verschelde a725e847ea
Merge pull request #83868 from KoBeWi/−5_just_because
Remove margins from editor scrollbars
2023-10-27 17:45:20 +02:00
smix8 e8caa0aa92 Fix NavigationObstacle3DEditor parenting error
Fixes NavigationObstacle3DEditor parenting error.
2023-10-27 15:43:28 +02:00
Saracen 0e545d9e88 Unpress buttons in AnimationTree when switching to read-only mode. 2023-10-27 13:39:08 +01:00
Rémi Verschelde ba79e53dd0
Merge pull request #84048 from SaracenOne/extra_readonly_info
Add read-only info to resource embedded in other scenes.
2023-10-27 13:33:53 +02:00
Rémi Verschelde ac864d67d0
Merge pull request #84011 from YuriSizov/editor-limit-icon-sizes-in-more-hidden-places
Limit custom icons size in various editor widgets
2023-10-27 13:33:03 +02:00
Saracen ada1f66fc1 Add read-only info to resource embedded in other scenes. 2023-10-27 12:01:22 +01:00
kleonc 74a35526e0 Fix some Node3DEditor snapping issues 2023-10-27 13:00:49 +02:00
Rémi Verschelde dd74ffde95
Merge pull request #84022 from SaracenOne/validate_renames
Add foreign validation warning for rename actions.
2023-10-27 11:39:20 +02:00
Rémi Verschelde d88ef223e3
Merge pull request #82853 from KoBeWi/line_surgery
Prioritize points in polygon editor hover
2023-10-27 11:36:09 +02:00
Rémi Verschelde 8919d1c2b5
Merge pull request #82806 from Vilcrow/fix-ensure-selected-visible
Fix checking the visibility condition of selected file in the Godot editor's dock
2023-10-27 11:35:40 +02:00
Saracen 5deff6c2dd Add foreign validation warning for rename actions. 2023-10-26 22:14:48 +01:00
Yuri Sizov 6e20c78c20 Limit custom icons size in various editor widgets 2023-10-26 17:56:09 +02:00
kit 473c209fcd Only update EditorSceneTabs tabs when necessary 2023-10-26 11:13:39 -04:00
kobewi 7cffb30254 Prioritize points in polygon editor hover 2023-10-26 16:03:55 +02:00
Rémi Verschelde 80e5484a82
Merge pull request #83941 from Jordyfel/hashset-not-vector
Use Hashset for dependency list when moving
2023-10-26 16:01:21 +02:00
Rémi Verschelde 4f138db264
Merge pull request #83764 from timothyqiu/suffix-only
Fix infinite loop when importing 3D object named "-colonly"
2023-10-26 16:00:08 +02:00
Rémi Verschelde 34b1c0e40b
Merge pull request #83487 from KoBeWi/crash_that_does_not_exist
Prevent crash when creating custom file tooltip
2023-10-26 15:59:19 +02:00
Rémi Verschelde 346459e9fb
Merge pull request #83986 from SaracenOne/skeleton_bones_renamed_check
Add method check for `_notify_skeleton_bones_renamed`.
2023-10-26 12:10:32 +02:00
Saracen d0e5bff542 Add method check for _notify_skeleton_bones_renamed. 2023-10-26 10:22:59 +01:00
Rémi Verschelde 53a894e520
Merge pull request #83964 from SaracenOne/skeleton_reimport_crashfix
Fix crash when reimporting with Skeleton3D selected.
2023-10-26 09:00:45 +02:00
Rémi Verschelde 27679dbfa4
Merge pull request #83937 from Jordyfel/potential-crash-on-move
Fix potential crash on failed move
2023-10-26 08:59:10 +02:00
Rémi Verschelde 9f20a4a391
Merge pull request #81510 from garychia/unedit_created_script
SceneTreeDock: Avoid changing the currently edited object when attaching a script
2023-10-26 08:57:01 +02:00
S.V.I. Vilcrow 1ec2272e0b Fix checking the visibility condition of selected file in the Godot editor's dock. 2023-10-25 23:13:18 +03:00
Saracen ed083a9fbe Fix crash when reimporting with Skeleton3D selected. 2023-10-25 21:10:57 +01:00
Jordyfel 50b7387a3f Use Hashset for dependency list when moving 2023-10-25 21:05:53 +03:00
J. N. Witch d832f62a01 Introduce a "Gizmos" submenu for toggling visibility of gizmos in 2D editor
instead of standalone checkboxes like "Show Group And Lock Gizmos".

Add option to toggle visibility of Position gizmos.
2023-10-25 12:41:37 +00:00
Jordyfel 85144f0cd1 Fix potential crash on failed move. 2023-10-25 14:52:34 +03:00
kobewi 294ce2d2a7 Fix animation track paths updated by scene dock 2023-10-25 12:34:50 +02:00
Rémi Verschelde 074297d945
Merge pull request #83745 from quirkylemon/clamped-description-text
Clamp the height of description text for property selectors
2023-10-25 10:29:33 +02:00
Rémi Verschelde cd46addfca
Merge pull request #83597 from SaracenOne/duplicate_foreign_nodes
Support duplication of foreign nodes.
2023-10-25 10:28:45 +02:00
Rémi Verschelde f021d33940
Merge pull request #81167 from bitsawer/fix_sdfgi_editor_change
Reset SDFGI when changing editor scene tabs
2023-10-25 10:27:03 +02:00
clayjohn 5591f289d7 Uses screen-aligned quads for origin lines to avoid issues on NVidia
While we are add it, use alpha-antialised lines to make them look nice
2023-10-24 18:02:36 +02:00
Rémi Verschelde 261fe7ce6a
Merge pull request #83704 from clayjohn/misc-mesh-fixes
Some more fixes for compressed meshes
2023-10-24 10:54:23 +02:00
Rémi Verschelde bc5d5978ea
Merge pull request #83695 from YuriSizov/core-lock-and-key
Improve threading in ClassDB and EditorHelp
2023-10-24 10:54:19 +02:00
Rémi Verschelde f41e07bfe6
Merge pull request #81737 from Mickeon/fix-connection-inherited-packed-scene
Fix internal `CONNECT_INHERITED` being saved in PackedScene & Make Local
2023-10-24 10:53:37 +02:00
clayjohn 8f9cd4e1e3 Some more fixes for compressed meshes
This cleans up a few more cases of uint32_t->uint64_t

Importantly this fixes an edge case in the axis-angle compression by
using the pre-existing Basis methods instead
2023-10-24 09:38:12 +02:00
jsjtxietian 961381cad5 Fix unable to uncomment code in text shader editor 2023-10-24 11:23:59 +08:00
kobewi a3172ae8c5 Remove margins from editor scrollbars 2023-10-24 02:06:23 +02:00
Rémi Verschelde 50d17f6b8c
Merge pull request #83613 from clayjohn/surface_upgrade_tool
Add an editor tool to automatically upgrade and re-save meshes
2023-10-24 00:10:37 +02:00
clayjohn 318ef8461f Implementation of tool to automatically upgrade and re-save meshes 2023-10-23 22:39:48 +02:00
QuirkyLemon faccc8e225 Clamps the height of description text for property selectors 2023-10-23 10:54:24 -05:00
Rémi Verschelde 5e8bf6addf
Merge pull request #83815 from timothyqiu/as
Fix "as" capitalization in editor strings
2023-10-23 12:43:15 +02:00
Rémi Verschelde fe45e4ec7c
Merge pull request #83790 from OppositeNor/fix_tileset_out_of_screen
Fix TileSet painting options appear out of screen
2023-10-23 12:42:52 +02:00
Rémi Verschelde 943b7419cb
Merge pull request #83776 from SaracenOne/bezier_track_scroll
Add vertical scrolling to bézier track editor.
2023-10-23 12:41:17 +02:00
Rémi Verschelde e2dc96b66b
Merge pull request #83637 from kitbdev/tab-drag-fix
Fix `TabBar` and `TabContainer` dragging issues
2023-10-23 12:40:54 +02:00
Rémi Verschelde d08d3e95c8
Merge pull request #83507 from timothyqiu/abt-close
Readd close button for nodes in `AnimationNodeBlendTree` editor
2023-10-23 12:40:30 +02:00
Rémi Verschelde e19acaab47
Merge pull request #82486 from timothyqiu/the-node-who-lived
Fix "Some nodes are referenced by animation tracks" when deleting instance
2023-10-23 12:39:15 +02:00
DennisManaa 1a1c542836 Implement automatic translation for ItemList 2023-10-23 10:14:08 +02:00
Haoyu Qiu 2413952a4c Fix "as" capitalization in editor strings 2023-10-23 16:10:05 +08:00
Haoyu Qiu 920e53cacb Readd close button for nodes in AnimationNodeBlendTree editor 2023-10-23 11:11:51 +08:00
kit 701c8d8323 Fix tab dragging issues 2023-10-22 13:58:31 -04:00
OppositeNor 8f26cdcaef Fix tileset out of screen 2023-10-22 13:39:14 -04:00