6040 Commits

Author SHA1 Message Date
be2c9dec94 [4.3] Fix MSVC warning for potential mod by 0 (C4724) 2025-07-05 15:28:45 -07: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
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
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
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
d842870331 Fix selection stuck after saving scene
(cherry picked from commit 613d4d10cb)
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
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
f783cf7b81 Fix Polygon2D UV editor error when opening grid settings
(cherry picked from commit 5a0a0257e1)
2024-09-17 08:57:42 +02:00
30bba8745c Fix crash when selecting ownerless 3D node.
(cherry picked from commit 279ccd6d32)
2024-09-16 17:23:54 +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
20ce427a6c Remember "View Grid" (per-viewport) setting between editor sessions
(cherry picked from commit 080acd7246)
2024-09-16 17:11:42 +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
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
3876287162 Ensure selected node is a descendant of the edited scene
(cherry picked from commit b1a45d9487)
2024-09-16 17:00:54 +02:00
bba8f85945 Fix Pressing Escape doesn't exit freelook in the 3D editor
(cherry picked from commit 78dc310103)
2024-09-16 16:56:10 +02:00
d915947f3d Fix transposed tiles drawing in GenericTilePolygonEditor
(cherry picked from commit 3dfac1644d)
2024-09-16 16:47:00 +02:00
a031407e82 Fix TileAtlasView bounds checks for transposed tiles
(cherry picked from commit 6895f6f8cc)
2024-09-16 16:46:57 +02:00
1ebf488a4e Fix incorrect parsing of nested nodes when generating the POT
(cherry picked from commit 84c5403578)
2024-09-16 16:41:48 +02:00
2eec361f5f Corrected rotation gizmo plane math for off-center perspective view.
(cherry picked from commit 1fc8255355)
2024-09-16 16:34:16 +02:00
b9271608df Remove superfluous print_line call
(cherry picked from commit b1421a0d98)
2024-09-16 16:30:46 +02:00
4fe0d0ee86 [Editor] Fix AnimationTrackEditor::timeline_changed signal
Signal was declared with two arguments, emitted with both two and three
2024-08-13 15:09:53 +02:00
29a0e51b87 Merge pull request #95400 from AThousandShips/anim_signal_fix
[Editor] Fix missing bind for animation editor callback
2024-08-12 22:42:08 +02:00
47d0bdd558 Merge pull request #95405 from TokageItLab/fix-double-seeking
Prevent to seek doubly on AnimationPlayerEditor
2024-08-12 18:18:15 +02:00
81399ae9ba Prevent to seek doubly on AnimationPlayerEditor 2024-08-13 00:49:53 +09:00
7eed651f38 [Editor] Fix missing bind for animation editor callback
`timeline_changed` signal was connected to a method with three arguments
but provides two.
2024-08-11 19:07:39 +02:00
de7ce9a85f Reduce size changes of visual shader nodes when connecting/disconnecting
- plus small internal rename
2024-08-02 13:26:49 +02:00
e2be29c2a9 Merge pull request #93404 from TokisanGames/fix-empty-scene-crash
Fix crash in Node3DEditorViewport selecting on empty scene
2024-07-31 16:13:12 +02:00
db79f52736 Merge pull request #94729 from Chaosus/vs_fix_param_set
Fix incorrect passing of parameter to visual shader preview
2024-07-30 12:28:51 +02:00
cffc5cacbc Fix Skeleton 3D insert key tooltips 2024-07-30 12:24:07 +02:00
4f2d818680 Merge pull request #94875 from Chaosus/vs_fix_expanded_port_updating
Fix expanded output ports disconnection on updating in visual shader
2024-07-29 15:17:36 +02:00
f9474f0925 Merge pull request #93764 from patwork/fix-aspect-div-by-zero
Fix division by zero in aspect ratio calculation
2024-07-29 15:17:22 +02:00
5893b38ddd Fix expanded output ports disconnection on updating in visual shader 2024-07-28 15:55:18 +03:00
c98a7060f0 Merge pull request #94787 from jsjtxietian/gdinc_-
Update shader list after saving `gdshaderinc` file
2024-07-26 13:44:22 +02:00
6a1ac99a98 Merge pull request #94387 from mihe/fix-3d-selection-list
Fix "selectable nodes at position clicked" feature in 3D editor
2024-07-26 13:44:01 +02:00
3be7aaa624 Update shader list after save gdshaderinc file 2024-07-26 18:07:00 +08:00
02a6f3944a Fix incorrect passing of parameter to visual shader preview 2024-07-25 11:54:22 +03:00
307efbadf8 Merge pull request #94420 from TokageItLab/player-seek-internal
Handle internal seek on AnimationPlayer to process discrete correctly
2024-07-23 13:08:05 +02:00
add558f3bc Merge pull request #94304 from TokageItLab/fix-end-of-statemachine
Fix StateMachine process when transition to end & optimize StringName
2024-07-23 13:07:59 +02:00
40c6668044 Merge pull request #94622 from YeldhamDev/atr_corner_case
Parse `auto_translate` when generating a POT file
2024-07-22 17:24:11 +02:00
fe4bdaf5b5 Parse auto_translate when generating a POT file 2024-07-22 10:00:09 -03:00
41b7196ad4 Fix incorrect Curve editor preview thumbnail scaling
`EDSCALE` scaling was applied even though it shouldn't be, which led
to pixelated thumbnails due to double scaling. For reference,
AudioStream previews don't use `EDSCALE` and look fine at any editor
scale (the editor itself already scales the thumbnail requests).
2024-07-21 05:59:01 +02:00
e25f3c0d38 Merge pull request #94302 from TokageItLab/reset-after-change-animation-editor
Fix the behavior of after selecting animation on AnimationPlayerEditor to reset position to `0`
2024-07-20 21:43:50 +02:00
72e434bad4 Merge pull request #94497 from Chaosus/vs_rotation_by_axis
Few fixes for `VisualShaderNodeRotationByAxis`
2024-07-18 15:38:24 +02:00