Commit Graph

12368 Commits

Author SHA1 Message Date
Yuri Sizov a0a5cbad57 Revert "Fix get_bone_pose_global_no_override()"
This reverts commit 9307d851a9.
2023-08-02 14:25:50 +02:00
NiskashY 07ec20b8fa Fix disabled slider highlighting
(cherry picked from commit 4394936392)
2023-07-20 13:46:46 +02:00
kobewi 7a59ef60ee Fix crash with failed compatibility tiles
(cherry picked from commit 1a9739f591)
2023-07-20 13:46:45 +02:00
Yuri Sizov f9a0ac507c Avoid error spam when (un)pausing GPUParticles out of tree
(cherry picked from commit 991f4d5183)
2023-07-20 13:44:15 +02:00
RedworkDE 31e582b970 Fix crash when selecting lines in text edit
(cherry picked from commit 6b7008b73b)
2023-07-20 13:44:15 +02:00
kobewi 39f9c8cd29 Preserve selection when focusing SpinBox
(cherry picked from commit 968c5f6247)
2023-07-20 13:44:14 +02:00
pattlebass fa8e3b200e Fix Range-derived nodes not redrawing
When using set_value_no_signal(), Range-derived nodes wouldn't redraw.

Also added a dedicated method to SpinBox to update its text.

(cherry picked from commit 9500f8e69a)
2023-07-20 13:44:14 +02:00
Raffaele Picca 7f8de2df4c Correctly reset particle size and rotation in ParticlesProcessMaterial
Co-authored-by: clayjhn <claynjohn@gmail.com>
(cherry picked from commit 353a4e1e09)
2023-07-20 13:38:12 +02:00
Lyuma ca65d85d6e Fix for SkeletonIK3D interpolation and bone roll
Fix bug in internal Basis::rotate_to_align function (also used with identity Basis in scene/resources/curve.cpp)
Use ChainItem children rather than local bone rest to determine IK bone roll to match Godot 3.x behavior

(cherry picked from commit 9aa46bf3f5)
2023-07-20 13:38:12 +02:00
Aaron Franke 1fcf58d72e Make `Node::get_children()` public
(cherry picked from commit 8eb9986dc5)
2023-07-20 13:09:57 +02:00
Clement C 2dfb108a6a Fix crash when changing node type from PopMenu to ItemList
(cherry picked from commit 999a1fffec)
2023-07-20 12:45:54 +02:00
kobewi d6e0170e94 Cancel tooltip when mouse leaves viewport
(cherry picked from commit 807431c49a)
2023-06-29 16:03:22 +02:00
Ninni Pipping cbdad97829 Don't disable `Material` and `PlaceholderMaterial` when `disable_3d=yes`
(cherry picked from commit 1f1be5fe9b)
2023-06-29 16:03:22 +02:00
detomon bf8f9e28c8 Fix adding bones with the same name after calling Skeleton3D.clear_bones()
(cherry picked from commit ea80213eee)
2023-06-29 16:03:22 +02:00
Artyom Lunchenkov 0649c05756 Improve Skeleton3D::find_bone() performance
(cherry picked from commit f645eee62e)
2023-06-29 16:03:22 +02:00
Arman Elgudzhyan 88475cfba9 Use defined key mapping for closing popups and dialogs
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.

(cherry picked from commit 8ab2cf3d2d)
2023-06-29 16:03:22 +02:00
kobewi 13a030de06 Fix AnimationPlayer cumulative speed_scale
(cherry picked from commit 87a6145135)
2023-06-29 16:03:21 +02:00
ajreckof 431bcf4880 fix `Window`derived nodes being unselectable for `ViewportTexture` `NodePath`
(cherry picked from commit ace7620e55)
2023-06-29 16:03:21 +02:00
ocean (they/them) e75e104e2d Fix adding colors to swatches not updating in previous ColorPickers.
ColorPicker was only updating colors if its swatches were empty. It
should always update from the cache in case some other ColorPicker
updated the swatch cache.

(cherry picked from commit a132ed0ca4)
2023-06-29 16:03:21 +02:00
bruvzg 0b8fee56e2 [ItemList] Fix item text positions in RTL mode.
(cherry picked from commit 343c35e7b0)
2023-06-29 16:03:20 +02:00
Alex Drozd 52c8c8c174 check for null event in Viewport::push_input
(cherry picked from commit a5a1c3a03c)
2023-06-29 16:03:20 +02:00
kobewi 14f1141abe Fix 2D audio in multiple viewports
(cherry picked from commit 8a41eefb97)
2023-06-29 16:03:20 +02:00
Rémi Verschelde 5fdd5fa19d
Merge pull request #77110 from smix8/fix_agent_avoidance_pos_4.0
[4.0] Fix agent avoidance position not updated when entering SceneTree
2023-06-22 21:00:50 +02:00
Isard Botha 314c729d2c Fix issue 74259 by setting the sky cover property back to nil when it is reset in the editor.
(cherry picked from commit 74041e3705)
2023-06-16 20:55:23 +02:00
Lyuma 9307d851a9 Fix get_bone_pose_global_no_override()
(cherry picked from commit 565803ce3d)
2023-06-16 20:55:23 +02:00
David Turner 4cf3aff7cc Stop dragging when a slider changes editability
(cherry picked from commit 7d6b44c5a4)
2023-06-16 20:55:23 +02:00
Rindbee ce116e4708 Fix calculation bug with `TextEdit::get_line_height()`
When `get_line_height()` is less than `1`, there is no visible text.
So limit the return value of `get_line_height()` to **not less** than
`1` for calculation.

(cherry picked from commit 391bce44b7)
2023-06-16 20:55:23 +02:00
kleonc 3af3e88d81 Fix AnimatedSprite3D autoplay warning
(cherry picked from commit d3d84d90de)
2023-06-16 20:55:23 +02:00
FranckRJ ac1885925c Fixed width of CapsuleShape2D::get_rect + set center to center of shape
The width of the rect was only half of the width of the shape, and
the 0;0 coord was at the top left of the rect.
Now the width properly matches the width of the shape, and the 0;0
coord is at the center of the shape. It should match the behavior
of Godot 3.X.

(cherry picked from commit ab5462e386)
2023-06-16 20:55:23 +02:00
Yuri Sizov eced93a3f5 Revert "Improve the UX of ViewportTexture in the editor"
This reverts commit b91b8fce43.
2023-05-18 21:46:40 +02:00
Ninni Pipping 589306a9d8 Make `TouchScreenButton` connections reference counted
Prevents errors when assigning the same texture to both slots

(cherry picked from commit 0648cc65b2)
2023-05-18 21:46:39 +02:00
smix8 5296b91592 Fix agent avoidance position not updated when entering SceneTree
Fixes agent avoidance position not updated when entering SceneTree.
2023-05-15 22:27:37 +02:00
Ninni Pipping f93a4287cf
Enable shadow warnings and fix raised errors
(cherry picked from commit 71ee65dc57)
2023-05-12 13:56:48 +02:00
Rindbee b91b8fce43
Improve the UX of ViewportTexture in the editor
The associated `ViewportTexture`s will update the `viewport_path`
in time when the `Viewport`'s nodepath is changed (caused by renaming
the node names or moving in the SceneTree dock).

If the target `Viewport` is changed by resetting the `viewport_path`,
the `ViewportTexture`s will be re-setup and emit `changed` signal in
time.

(cherry picked from commit af58f1e854)
2023-05-12 12:31:22 +02:00
kobewi 1146172b30
Prevent errors when using ViewportTexture
(cherry picked from commit 1b9802fa8c)
2023-05-12 12:31:22 +02:00
David Snopek 2a8501e1a2
Add missing documentation for MultiplayerPeerExtension
(cherry picked from commit 4d13be3c5e)
2023-05-12 12:31:22 +02:00
smix8 3be6a1b38e
Fix SurfaceTool::create_from_blend_shape()
Fixes SurfaceTool::create_from_blend_shape().

(cherry picked from commit 2dbc5d95eb)
2023-05-12 12:31:21 +02:00
Ninni Pipping 5d93de88a8
Fix size error in `BitMap.opaque_to_polygons`
Previous estimate of upper limit on size was incorrect

(cherry picked from commit 249784ed53)
2023-05-12 12:10:50 +02:00
Jean-Michel Bernard 53df7c18e0
Fix right click in selection of additional caret
(cherry picked from commit 5c06c030f2)
2023-05-12 12:07:02 +02:00
David Turner 0566ac68de
Explain why an image would be invalid for a texture
(cherry picked from commit 43a7cb093c)
2023-05-12 12:07:02 +02:00
mashumafi 0cb1fd3a61
Wait for navigation baking to finish before destruction
(cherry picked from commit a93a2e519d)
2023-05-12 12:07:01 +02:00
VolTer 70f7fcd208
Light3D show scaling warning immediately
(cherry picked from commit 818d57b5b4)
2023-05-12 12:07:00 +02:00
Tefatika b532dd7626
Fixed error messages when setting all_tab_in_front of TabContainer
Some signal handlers weren't unregistered when removing the wrapped
child TabBar, which resulted in errors printed when the TabBar was
removed and added again when the flag was updated

(cherry picked from commit abd894daf7)
2023-05-12 12:07:00 +02:00
Rindbee 4b4556179e Fix the uid field of the tscn/res file is lost when the external dependency is updated
(cherry picked from commit 41ac40c44c)
2023-04-26 14:51:00 +02:00
Haoyu Qiu 7f1b1e1c1b Fix TouchScreenButton not redrawn when texture changes
(cherry picked from commit a15126915d)
2023-04-26 14:32:21 +02:00
Fredia Huya-Kouadio 01014a7475 Make tab's close button responsive to touch taps
(cherry picked from commit 7325ffdd46)
2023-04-26 14:32:21 +02:00
kobewi 82aab2b0ea Fix invalid global position when read outside tree
(cherry picked from commit 727a4ed79a)
2023-04-26 14:32:20 +02:00
Samuele Panzeri a27dd86755 Fix editor lock on sdf collision bake on error
(cherry picked from commit a2be742f97)
2023-04-26 14:14:07 +02:00
kleonc 6ac70ff5da TileMap Fix rendering odd-sized tiles
(cherry picked from commit c49a7feae3)
2023-04-26 14:14:05 +02:00
David Giardi 75f3ce618e Fix blurry borders on antialiased FlatStyleBox
This is a fix of the antialiasing logic of FlatStyleBox.
It is now possible to have smooth rounded corners while keeping
the edges sharp on the pixels.

The antialiasing gradient positioning is ajusted so that the "hard"
border corresponds to the middle of that gradient instead of one end.
Checked against rendering of rounded rectangles in a vector graphics
software.

(cherry picked from commit 2ef20045b1)
2023-04-24 17:08:55 +02:00