Commit Graph

16132 Commits

Author SHA1 Message Date
f89d1e0376 Merge pull request #96606 from RandomShaper/res_loader_cherrypicks_4.3
[4.3] Cherry-picks related to `ResourceLoader`
2024-11-15 19:08:11 +01:00
9ed06bce54 EditorResourcePreview: Let loads complete after exit requested
(cherry picked from commit f31867d2b9)
2024-09-23 18:55:54 +02:00
53cde2eb85 i18n: Sync translations with Weblate
Adds Irish (ga) doc translations, and Bengali (bg) editor translations.
2024-09-17 20:46:20 +02:00
15129c044e Fix error reopening non existing scene on startup
(cherry picked from commit d06c7ad6f0)
2024-09-17 09:59:30 +02:00
35b4a1f374 [Windows] Emit native file dialog callback from event loop, fix selected options not saved.
(cherry picked from commit ea252675aa)
2024-09-17 08:57:46 +02:00
d00e4fbb16 Fix double lock/group buttons when starting editor with empty scene
(cherry picked from commit 96aa2f285c)
2024-09-17 08:57:45 +02:00
13701384ab Fix slider size in compact mode
(cherry picked from commit f21a969bb9)
2024-09-17 08:57:45 +02:00
f4b71b5325 Fix polygon node losing its UV toolbar by adding a call to the show method when assinging a node.
Fixes #96238

(cherry picked from commit dabeaa6a4b)
2024-09-17 08:57:45 +02:00
51c86eb085 WAV: Fix one frame overflow at the end
(cherry picked from commit 147accdf74)
2024-09-17 08:57:45 +02:00
6dd8e7fece Update AnimationPlayer in real-time when bezier curve properties or bezier editor changes
(cherry picked from commit 9d0944b673)
2024-09-17 08:57:45 +02:00
88370e44d8 Fix undoing "Move tiles" TileMapLayer action when drag/drop areas overlap
(cherry picked from commit ab504b3139)
2024-09-17 08:57:44 +02:00
c7a173aa60 Fix directory empty bug on Android
(cherry picked from commit 8f66513bad)
2024-09-17 08:57:44 +02:00
cab91cf8fb fix clear button on Array[Node]
(cherry picked from commit dee0453b57)
2024-09-17 08:57:44 +02:00
02c45088ea Fix "reparent to new node" when node has internal children
(cherry picked from commit 8da49ab947)
2024-09-17 08:57:44 +02:00
7f0cc1aa35 Fix "reparent to new node" not remembering index
(cherry picked from commit b11ccf3c77)
2024-09-17 08:57:44 +02:00
61b2ad9242 Fix Set Frame Title popup position
(cherry picked from commit 7d78d753b5)
2024-09-17 08:57:43 +02:00
1629e9b1fa Fix shift clicking on Add Sun/Environment to Scene buttons
(cherry picked from commit 1b6af3acd3)
2024-09-17 08:57:43 +02:00
3783527410 [Editor] Fix handle ID being passed for 3D Gizmo plugins
(cherry picked from commit 62d98c6f02)
2024-09-17 08:57:43 +02:00
00866dc80a [Editor] Prevent duplicate Open in Editor buttons in scene tree dock
Duplicate buttons were added when editor description changed

(cherry picked from commit ab04d76e0e)
2024-09-17 08:57:43 +02:00
d842870331 Fix selection stuck after saving scene
(cherry picked from commit 613d4d10cb)
2024-09-17 08:57:43 +02:00
2635ff777e Prevent editing value on focus when EditorSpinSlider is read-only
(cherry picked from commit 88f1b679f3)
2024-09-17 08:57:43 +02:00
cbcc5f8d19 Fix instant transformations not being committed when used in succession
Also:
- Fix holding down keys repeatedly committing instant transformations, and disallow starting instant during non-instant
- Fix echoed inputs starting new instant transformations after clicking to confirm, and disallow left mouse release committing instant transformations

(cherry picked from commit 060a1a0899)
2024-09-17 08:57:43 +02:00
64cbde426f [Editor] Don't show popup when clicking empty in Favorites
(cherry picked from commit d2a8b330d8)
2024-09-17 08:57:43 +02:00
26cc13705a Fix AnimationPlayer crash when it's made the scene root
When an AnimationPlayer is made root of a scene,
the track links may become broken and clicking on
them will crash.

Current master branch also breaks node links when
AnimationPlayer is made scene root, and can also
crash the engine if another node was made scene
root prior to the AnimationPlayer.

This happens because when made root, the editor
loses track of AnimPlayer's root node. By keeping
a copy of the AnimPlayer's root_node, the track
links remain functional.

Fixes #91043.

(cherry picked from commit e905be8249)
2024-09-17 08:57:43 +02:00
fc5e7c7411 Fix Path2D splitting
(cherry picked from commit 7e7a4f238b)
2024-09-17 08:57:42 +02:00
1e5d7a0907 Fix floating window corner radius
(cherry picked from commit 308186a89e)
2024-09-17 08:57:42 +02:00
4d0f10a543 Fix missing material override after two glb reimports
(cherry picked from commit 79d0254a2d)
2024-09-17 08:57:42 +02:00
f783cf7b81 Fix Polygon2D UV editor error when opening grid settings
(cherry picked from commit 5a0a0257e1)
2024-09-17 08:57:42 +02:00
1e9f578740 Fix no unsaved indicator Save As resource
(cherry picked from commit b97c128b34)
2024-09-17 08:57:42 +02:00
6ab9ec33f2 Add modf function and fix snap behavior
Fixes #96159

(cherry picked from commit fcc8518bce)
2024-09-17 08:57:41 +02:00
e549ab35fa Fix SceneTreeDock invalid state after trying to remove internal Node
(cherry picked from commit 5ae85a4fb9)
2024-09-17 08:57:41 +02:00
1c9ba616d5 Fix missing project date showing the unix epoch
(cherry picked from commit 6ed54ab9ba)
2024-09-17 08:57:41 +02:00
682ee73f64 Fix memory leak on QOA import
(cherry picked from commit e67cc73463)
2024-09-16 17:25:14 +02:00
30bba8745c Fix crash when selecting ownerless 3D node.
(cherry picked from commit 279ccd6d32)
2024-09-16 17:23:54 +02:00
e2184c5da0 Support opening custom class documentation with "Open Documentation" menu entry
(cherry picked from commit b5fa2a3d3a)
2024-09-16 17:23:31 +02:00
kit
4fabc1ba58 Fix script overwriting with external editor
(cherry picked from commit 23927c3d9b)
2024-09-16 17:23:16 +02:00
4d7feff723 Fix snapping when zoomed in Polygon2D UV editor
(cherry picked from commit 1b7626f391)
2024-09-16 17:22:50 +02:00
95a0525361 Fix animation library copy-paste not preserving resource reference
(cherry picked from commit 08ef14a037)
2024-09-16 17:18:40 +02:00
e59f59a439 [Editor] Prevent unnecessary editor theme regeneration on unrelated system setting update.
(cherry picked from commit 97085358ce)
2024-09-16 17:18:03 +02:00
20ce427a6c Remember "View Grid" (per-viewport) setting between editor sessions
(cherry picked from commit 080acd7246)
2024-09-16 17:11:42 +02:00
cf40a5bc5a Fix huge tscn icon in FileSystem split mode using list view
(cherry picked from commit 36c9d31a9e)
2024-09-16 17:10:34 +02:00
1ecf20c783 Fix errors about UndoRedo history mismatch when deleting bezier track
(cherry picked from commit 4db3e6e6cd)
2024-09-16 17:10:19 +02:00
b05470efd0 Fix display dialog while saving scene
(cherry picked from commit da31679d12)
2024-09-16 17:10:04 +02:00
433509b489 Fix small graph editor pins at higher display scales
(cherry picked from commit 3f7efd2291)
2024-09-16 17:09:50 +02:00
bd552ff609 Fallback to theme icon when no custom icon is set in autocompletion
(cherry picked from commit e8254dc3f4)
2024-09-16 17:09:23 +02:00
d0c4f19dd2 Fix gizmos without visible geometry not being selectable
The issue was that Node3DEditorViewport was using the render server's BVH to filter out nodes,
which is not correct for gizmos that have no renderable components,
or have collision triangles that exceed the bounds of their renderable components.

(cherry picked from commit 45f6110e26)
2024-09-16 17:08:59 +02:00
cff0ebd603 Clear drag preview material on NOTIFICATION_DRAG_END
(cherry picked from commit 6aee6c1fdd)
2024-09-16 17:05:37 +02:00
4168220169 Fix EditorInterface.get_selected_paths() working incorrectly when FileSystemDock is in split mode
(cherry picked from commit b55e97cd85)
2024-09-16 17:03:50 +02:00
d8c13f88ed Fix scene node selection problem when no auto expand
(cherry picked from commit e46280dbb5)
2024-09-16 17:03:02 +02:00
b7fc063038 Fix uid:// Paths Fail to Load at Editor Startup
(cherry picked from commit b1c97313e0)
2024-09-16 17:02:12 +02:00