detomon
cf1674c423
Initialize MSDF parameters in BaseMaterial3D with default
...
(cherry picked from commit d275a7487d )
2023-10-19 21:17:46 +02:00
kobewi
f7d1f9e25b
Improve and clarify paused Tweens
...
(cherry picked from commit dbecf8bd1a )
2023-10-19 21:06:11 +02:00
Hugo Locurcio
c8bd1259af
Allow using floating-point bone sizes and outline widths in the 2D editor
...
This is useful when animating pixel art sprites in the 2D editor,
as a value of `1` is often too large when zoomed in.
(cherry picked from commit a39190a18f )
2023-10-19 21:06:11 +02:00
Rémi Verschelde
aae20e5b10
Fix various typos with codespell
...
Also includes typo fixes from #79993 , #80068 , #80276 , and #80303 .
Co-authored-by: betalars <contact@betalars.de>
Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com>
Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
(cherry picked from commit faaf27f284 )
2023-10-03 20:45:35 +02:00
Michael Alexsander
9bf09194cc
Make hovered tabs be drawn with the unselected's width at minimum
...
(cherry picked from commit decae848a8 )
2023-09-27 17:48:41 +02:00
bruvzg
140eb6886f
[RTL] Use list iterators for item/paragraph removal.
...
(cherry picked from commit 88177a5a58 )
2023-09-21 15:45:49 +02:00
ajreckof
265fe750a8
Fix CodeEdit completion being very slow in certain cases
...
(cherry picked from commit 1eb3d99ff7 )
2023-09-21 15:44:36 +02:00
kleonc
3b3f7efadb
Fix CanvasModulate logic for updating canvas modulate
...
(cherry picked from commit f12164d311 )
2023-09-21 15:28:24 +02:00
Silc Lizard (Tokage) Renew
bb4ad56e95
Fix NodeTransition with negative time scale
...
(cherry picked from commit 1ac2bdd97b )
2023-09-21 15:28:24 +02:00
Nikola Bunjevac
3b4748f6b5
Fix RichTextLabel character line and paragraph index getters
...
(cherry picked from commit e2536d0643 )
2023-09-21 15:28:23 +02:00
Chia-Hsiang Cheng
cdc0e00557
Draw separators before selected style boxes
...
(cherry picked from commit 749db00227 )
2023-09-21 14:57:13 +02:00
Yogendra Manawat
a90aac5415
Fix TabContainer's font_hovered_color theme property
...
(cherry picked from commit d7bf05b490 )
2023-09-21 14:09:19 +02:00
Haoyu Qiu
9dfb3ddad5
Fix ItemList not update when icon scale changes
...
(cherry picked from commit 1bf4c12c0a )
2023-09-21 14:09:19 +02:00
Hugo Locurcio
a972686972
Clamp Volumetric Fog Length property to prevent rendering issues
...
A length of 0 units doesn't make sense anyway.
(cherry picked from commit 8041cff865 )
2023-09-21 14:09:19 +02:00
Haoyu Qiu
de5a7b3764
Fix Button text when overrun is not trim nothing
...
(cherry picked from commit 7f70ac56a0 )
2023-09-21 14:09:19 +02:00
Dario
f6f2b0897a
Propagate error correctly when max texture size for lightmaps is too small.
...
Add error handling for BAKE_ERROR_LIGHTMAP_TOO_SMALL, which was previously ignored. Fixes #81453 .
(cherry picked from commit 7dfb854556 )
2023-09-20 22:44:04 +02:00
HolonProduction
96b8861c9d
Fix crash when hiding subwindow during popup of new subwindow
...
(cherry picked from commit e2cea458a3 )
2023-09-20 22:44:04 +02:00
Ninni Pipping
f54cbe6b76
Prevent crash when accessing `Node` Multiplayer from thread
...
(cherry picked from commit 7bd3a3a5e5 )
2023-09-20 22:44:03 +02:00
Ryan Hitchman
e7978fe277
Fix Curve3D baking up vectors for nontrivial curves.
...
The code was modified in 42aa539 to have a different basis vector, but
this line was missed and caused up vectors to invert sometimes.
Fixes #81879
(cherry picked from commit 734b9d2379 )
2023-09-20 22:44:03 +02:00
kleonc
bf15d20e56
Enable transparent background for GUI tooltips
...
(cherry picked from commit c66dfd2cfe )
2023-09-20 22:44:03 +02:00
bitsawer
3920b2db05
Fix empty shader resource loading
...
(cherry picked from commit 15eec2450a )
2023-09-20 22:44:03 +02:00
bitsawer
a606b03fd7
Fix Shader and ShaderInclude resource loading
...
(cherry picked from commit 26e3443eef )
2023-09-20 22:44:03 +02:00
Markus Sauermann
dbae37cc50
Fix global transform validity for `Node2D` and `Control`
...
Set global transform to invalid when changing transform
(cherry picked from commit 152572ac38 )
2023-09-20 22:44:03 +02:00
Danil Alexeev
18f69e9ee1
GUI: Fix text overlapping icon in `Tree`
...
(cherry picked from commit 07d23489f4 )
2023-09-20 22:13:23 +02:00
Danil Alexeev
75db138533
GUI: Fix `Tree` performance regression by using cache
...
(cherry picked from commit 5fb975e4a5 )
2023-09-20 18:40:36 +02:00
kleonc
e34241a809
Fix arg count checks in SceneDebugger
...
(cherry picked from commit 95809e58d5 )
2023-08-31 20:19:31 +02:00
Adam Scott
f3302b8089
Fix Camera2D crash when edited scene root is null
...
(cherry picked from commit deb45c0cab )
2023-08-31 20:19:31 +02:00
kleonc
c6c5b5bf78
Fix Animation::subtract_variant for affine transforms
...
(cherry picked from commit 87935ca837 )
2023-08-31 20:19:30 +02:00
smix8
605f1c0936
Make NavigationRegion3D baking NavMesh on the main thread not finish deferred
...
Makes NavigationRegion3D baking NavMesh on the main thread not finish deferred.
(cherry picked from commit bb5f16033d )
2023-08-31 20:19:30 +02:00
Haoyu Qiu
5e7a5cd2b1
Update OptionButton min size when disabling Fit to Longest Item
...
(cherry picked from commit 5384c1a579 )
2023-08-31 20:19:30 +02:00
Aaron Franke
6ecf741b7a
Change property hint range for camera attributes exposure multiplier
...
(cherry picked from commit 59e7e8c795 )
2023-08-31 19:48:17 +02:00
Haoyu Qiu
71ba2aca63
Fix Button clipping when internal margins exist
...
(cherry picked from commit 71430cdd48 )
2023-08-31 19:48:16 +02:00
smix8
cd7411c58d
Fix NavigationObstacle2D debug position
...
Fixes NavigationObstacle2D debug position.
(cherry picked from commit 2512157294 )
2023-08-31 19:48:16 +02:00
bitsawer
143963d122
Fix shader type detection
...
(cherry picked from commit 905c10bc54 )
2023-08-31 19:48:16 +02:00
Michael Alexsander
3bb05da45f
Fix delay on tab resizing when (un)hovering tabs
...
(cherry picked from commit 7ffad29df8 )
2023-08-31 19:48:16 +02:00
Septian
a6b1c0edbb
Fix `tween_property` on "Basis" to properly update its value
...
(cherry picked from commit eb7f87e9a8 )
2023-07-17 12:05:43 +02:00
kleonc
2796b629e9
Hide/show AcceptDialog's button spacer on button visibility changed
...
(cherry picked from commit 30a9c90785 )
2023-07-11 13:21:07 +02:00
Ninni Pipping
1e2bfdc9bb
Improve error message for `Node.set_owner`
...
(cherry picked from commit 0183340012 )
2023-07-11 12:21:27 +02:00
HolonProduction
438a598713
Update FileDialog button activity when file_mode is changed.
...
(cherry picked from commit cfac7c9a9a )
2023-07-10 18:09:59 +02:00
Chinmay Awale
4f4052581b
add 3.x compatibility for animation loop mode
...
(cherry picked from commit 1686a7a1a2 )
2023-07-10 18:09:58 +02:00
NiskashY
36ce14a826
Fix disabled slider highlighting
...
(cherry picked from commit 4394936392 )
2023-07-10 18:09:58 +02:00
Rindbee
1c1d4f6264
Fix `PackedScene::get_last_modified_time()` always returns `0`
...
The variables operated by `PackedScene::set_last_modified_time()`
and `PackedScene::get_last_modified_time()` are different.
(cherry picked from commit 22edef14c3 )
2023-07-10 18:09:58 +02:00
clayjohn
d6d8f6a637
Unify error condition for particles trail lifetime
...
(cherry picked from commit 78ecdb17f9 )
2023-07-10 18:09:57 +02:00
Markus Sauermann
42b8ae50d2
Fix `Node::add_sibling` parent check
...
Replace `data.blocked > 0` by `data.parent->data.blocked > 0` in order
to check if the parent is busy.
(cherry picked from commit b02dff6e1c )
2023-07-10 17:46:09 +02:00
Ninni Pipping
90b4a3fa75
Add compatibility properties to `TouchScreenButton`
...
Added support for `3.x` properties:
* `normal` -> `texture_normal`
* `pressed` -> `texture_pressed`
(cherry picked from commit c7e4b3bf5f )
2023-07-10 17:46:08 +02:00
bruvzg
fa45bb63c6
[Windows] Fix setting initial non-exclusive window mode.
...
(cherry picked from commit db0109b237 )
2023-07-10 17:46:08 +02:00
Florian Kothmeier
240701f95a
Fix invalid minimum size for translated messages in option button
...
(cherry picked from commit c33748d954 )
2023-07-10 17:46:08 +02:00
Hugo Locurcio
e32330473a
Remove uses of `vformat()` with no placeholders
...
This is identical to passing the string directly.
(cherry picked from commit dcc92c174e )
2023-07-10 17:46:07 +02:00
Dawid Marzec
87b4143f3b
Fix cursor behaviour in Tree while holding CTRL
...
(cherry picked from commit 9abbdea95e )
2023-07-10 17:26:15 +02:00
Bauke Conijn
3fd5fecfc1
Fix Camera3D project_* methods not accounting for frustum offset
...
This does not fix Camera3D::project_ray_normal().
Adds Camera3D::get_camera_projection() and exposes it to GDScript
(cherry picked from commit 47e63bc55f )
2023-07-10 17:26:15 +02:00
Markus Sauermann
4e84660b50
Fix that `_drop_physics_mouseover` only happens when necessary
...
Previously the call was executed every time, because in the
`_drop_mouse_over();` a few lines above, `gui.mouse_over = nullptr;`
was set.
(cherry picked from commit 37a96d3957 )
2023-07-10 17:26:14 +02:00
Silc Lizard (Tokage) Renew
ed9c091a92
Fix infinity loop state can't break
...
(cherry picked from commit fc40ba21cd )
2023-07-10 17:26:14 +02:00
nklbdev
2bfeb29bc6
Potencially fix nan's on octahedral tangents in RenderingServer
...
(cherry picked from commit 1d16704faf )
2023-07-10 17:26:13 +02:00
Ben Rog-Wilhelm
371b31c85f
Fix: Incorrect property names in FontFile::_get_property_list().
...
(cherry picked from commit 7ee916a259 )
2023-07-10 17:11:22 +02:00
Bastiaan Olij
89e64da028
Take eye offset into account for depth in StandardMaterial3D
...
(cherry picked from commit 581d081ded )
2023-07-10 17:11:22 +02:00
Markus Sauermann
0ec599473d
Revert "Fix focusloss of non-exclusive `AcceptDialog` with `close_on_escape`"
...
This reverts commit 7f547fcf09 .
(cherry picked from commit bfa7497c1b )
2023-07-10 17:11:22 +02:00
Rémi Verschelde
1b38e9258b
Merge pull request #78975 from YuriSizov/rtl-fix-refactoring-typo
...
Prevent crash when processing line caches in `RichTextLabel`
2023-07-03 15:26:31 +02:00
Rémi Verschelde
2912fd4c51
Merge pull request #78968 from bruvzg/scroll_fix2
...
[RTL] Fix multithreaded scrollbar visibility update 2.
2023-07-03 15:26:18 +02:00
Rémi Verschelde
2926ddec1c
Merge pull request #78939 from Scony/navi-crash-fix
...
Fix crash in `NavigationAgent3D`
2023-07-03 15:26:14 +02:00
Rémi Verschelde
813ff4b460
Merge pull request #78857 from smix8/navagent_pos_fix_4.x
...
Fix NavigationAgent position not always updating
2023-07-03 15:26:11 +02:00
Yuri Sizov
40f2227a65
Prevent crash when processing line caches in RichTextLabel
2023-07-03 13:33:51 +02:00
bruvzg
21365606d3
[RTL] Fix multithreaded scrollbar visibility update 2.
2023-07-03 10:34:42 +03:00
Pawel Lampe
fcbb521392
Fix crash in 'NavigationAgent3D', fixes #78910
2023-07-02 22:30:03 +02:00
smix8
34bc410fb4
Fix NavigationAgent position not always updating
...
Fixes NavigationAgent position not always updating.
2023-06-30 00:18:26 +02:00
smix8
c912df9d05
Fix NavigationAgent continues avoidance velocity
...
Fixes NavigationAgent continues avoidance velocity.
2023-06-29 21:10:03 +02:00
bruvzg
ec97c7c1d9
[RTL] Fix multithreaded scrollbar visibility update.
2023-06-29 15:37:54 +03:00
kobewi
1a9739f591
Fix crash with failed compatibility tiles
2023-06-28 15:11:10 +02:00
Rémi Verschelde
16508ead86
Merge pull request #78745 from RandomShaper/fix_node_pr
...
Fix node processing order
2023-06-27 23:02:02 +02:00
Pedro J. Estébanez
70ca659143
Fix node internal/non-internal processing order
...
Bonus:
Fix issues in group-processing related setters
2023-06-27 19:19:55 +02:00
Rémi Verschelde
3c352a5a7d
Merge pull request #78728 from Rindbee/reset-vp_pending-on-failure-or-not
...
Fix that `ViewportTexture` cannot be setup again after failed setup
2023-06-27 15:45:41 +02:00
Rindbee
fb1bcac271
Fix that `ViewportTexture` cannot be setup again after failed setup
...
`vp_pending` is a flag indicating to wait for `ViewportTexture::_setup_local_to_scene`
to be called. Once this method is called, no matter whether the setup will fail or not,
it needs to be reset to `false`.
2023-06-27 06:45:30 +08:00
Ricardo Buring
104da478a8
Fix CharacterBody3D get_position_delta()
...
Calculate the difference of global positions.
This also fixes get_real_velocity().
2023-06-26 23:15:57 +02:00
Pedro J. Estébanez
fc0e37bbe0
Fix change of precedence in fixup
2023-06-26 19:20:34 +02:00
Rémi Verschelde
6b91f57042
Fixup compilation warning after #78713
2023-06-26 17:55:08 +02:00
Pedro J. Estébanez
a39b683b12
Ensure default node groups' call queue are processed
2023-06-26 16:56:10 +02:00
Rémi Verschelde
8f2f5987a5
Merge pull request #78673 from Geometror/fix-graphnode-hotzones
...
[GraphEdit] Fix port hotzones at zoom levels other than 100%
2023-06-26 10:12:42 +02:00
Markus Sauermann
31fab43b8b
Fix scene load crash related to `_ready`
...
The iterator might get invalidated during `_ready`-user-code.
Prevent this by disallowing set_name during iterator-operations.
2023-06-25 22:35:38 +02:00
Hendrik Brucker
1e8ca95cdc
[GraphEdit] Fix port hotzones at zoom levels other than 100%
2023-06-25 17:13:53 +02:00
Rémi Verschelde
afe65de110
Merge pull request #78591 from ajreckof/Fix-crash-when-removing-child-during-focus-exit-
...
Fix crash when removing child during focus exit.
2023-06-23 22:45:51 +02:00
ajreckof
f745299c36
Fix crash when removing child during focus exit.
2023-06-23 21:31:18 +02:00
Rémi Verschelde
68193bee9a
Revert "Fix that the focus-out notification got sent deferred"
...
This reverts commit 8cdab04d7f .
Fixes #78589 .
2023-06-23 18:03:48 +02:00
Rémi Verschelde
f24f615b04
Merge pull request #78556 from QbieShay/qbe/hotzonehotfix
...
Fix regression in visual nodes hotzones
2023-06-23 08:47:56 +02:00
Rémi Verschelde
c1ad74d4c3
Merge pull request #78579 from aaronfranke/col-poly-obj-name
...
Internally rename `parent` to `collision_object` in CollisionPolygon(2D/3D)
2023-06-23 00:06:09 +02:00
Markus Sauermann
60c261ba2d
Re-add `mouse_focus`-nullcheck
2023-06-22 21:58:19 +02:00
Aaron Franke
7c4921e794
Internally rename parent to collision_object in CollisionPolygon(2D/3D)
2023-06-22 14:06:05 -05:00
Rémi Verschelde
cb73a6e9f9
Merge pull request #78490 from clayjohn/GLES3-particles-subemit
...
Add warnings and fallbacks for particles sub emitters when using the GL Compatibility rendering backend
2023-06-22 21:02:38 +02:00
Rémi Verschelde
120aa3fca8
Merge pull request #78574 from Sauermann/fix-toplevel-reset
...
Fix 3D `top_level` resetting
2023-06-22 20:44:36 +02:00
QbieShay
237e3c6099
Fix regression in visual nodes hotzones
2023-06-22 19:03:17 +02:00
Markus Sauermann
399bce02cf
Fix 3D top_level resetting
...
There is no need to erase the top_level flag on EXIT_TREE.
During ENTER_TREE, `top_level = true` is not necessary, because it is
already set to true.
2023-06-22 18:58:29 +02:00
Rémi Verschelde
283580d0cc
Merge pull request #78566 from kleonc/repeated-sprite-selection-fix
...
Fix click-selecting Sprites with repeated texture
2023-06-22 18:32:01 +02:00
kleonc
edba45ec8b
Fix click-selecting Sprites with repeated texture
2023-06-22 16:37:08 +02:00
dinoplane
e11e9d2b9a
Use cached saturation for color picker when value is 0
2023-06-21 15:18:20 -07:00
jeana helver
5ec1b698d2
Fix missing enum value for `Window.initial_position`
...
Reorder the properties in a possibly more intuitive order.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-06-21 22:39:43 +02:00
clayjohn
8a5af8183a
Add warnings and fallbacks for particles sub emitters when using the GL Compatibility rendering backend
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-06-21 12:56:52 -07:00
Rémi Verschelde
ee41b2097c
Merge pull request #78509 from MewPurPur/redraw-code-edit-on-mouse-exit
...
Hide breakpoint indicator when mouse leaves CodeEdit
2023-06-21 12:43:01 +02:00
MewPurPur
6e182d41f4
Hide breakpoint indicator when mouse leaves CodeEdit
2023-06-21 11:30:40 +02:00
Yuri Sizov
ebd44641c5
Merge pull request #78492 from KoBeWi/too_slow
...
Update indices after removing custom data layers
2023-06-21 11:19:36 +02:00
Rémi Verschelde
5025d95d41
Merge pull request #69027 from Uxeron/AudioListener2DRotationFix
...
Fix AudioListener2D ignoring rotation for positional audio
2023-06-21 10:17:37 +02:00
Uxeron
20ceba9e82
Fix AudioListener2D ignoring rotation
2023-06-21 08:10:01 +03:00
kobewi
c1c5b0a435
Update indices after removing custom data layers
2023-06-21 03:12:53 +02:00