Commit Graph

15307 Commits

Author SHA1 Message Date
Fredia Huya-Kouadio 0f33a4b97e
Fix invalid `Skeleton3D` bone pose updates
The issue would cause log spams when trying to update the bone pose position or rotation with an invalid bone index.

(cherry picked from commit 039722a341)
2024-09-16 17:19:17 +02:00
Rakka Rage f9bcd4f0ca
Enable revert button for `ShaderMaterial::next_pass` and `ShaderMaterial::render_priority`.
(cherry picked from commit ba23b22153)
2024-09-16 17:19:07 +02:00
Adam Scott 219ddde30c
Honor `pitch_scale` value before playing audio sample
(cherry picked from commit aaafd163b2)
2024-09-16 17:15:29 +02:00
kobewi 2dd696867f
Always store ID of PopupMenu items
(cherry picked from commit 5279fec60f)
2024-09-16 17:15:19 +02:00
kleonc df6bbb2538
Fix MenuBar popup placement assuming it's in viewport default canvas
(cherry picked from commit 8228d647a9)
2024-09-16 17:08:44 +02:00
jordi 32f2b851ab
Redraw SubViewportContainer on SubViewport size change
(cherry picked from commit 61e2aa7914)
2024-09-16 17:06:04 +02:00
MrPersonDev 9af6e04a15
Fix backspace always unfolding previous line
(cherry picked from commit 2860b99077)
2024-09-16 17:05:16 +02:00
Silc Lizard (Tokage) Renew eaa8ecb182
Fix bone2d scaling
Co-authored-by: Thiago Lages de Alencar <thiagola92@gmail.com>
(cherry picked from commit de558123bf)
2024-09-16 17:04:49 +02:00
kleonc c7dbcbd6d4
Fix Skeleton2D.{_set|_get} always returning true
(cherry picked from commit 115cd47fd6)
2024-09-16 17:04:28 +02:00
kleonc f0f69a7b7c
Fix Parallax2D repeats being not relative to its transform
(cherry picked from commit 1bd8372813)
2024-09-16 17:04:12 +02:00
Radiant 7266418bdf
Fix node.duplicate, return nullptr if this operation fails.
(cherry picked from commit 70f41e414e)
2024-09-16 17:02:35 +02:00
Kusok 8ea64814ed
Add `stop_callable` to `AudioStreamPlayerInternal`
(cherry picked from commit 8c7dd3cb61)
2024-09-16 17:00:18 +02:00
Jiří Švejda acba31b746
Fix SoftBody3D pinned points breaking when reloading scene
(cherry picked from commit bde8c5977b)
2024-09-16 16:47:13 +02:00
kleonc a031407e82
Fix TileAtlasView bounds checks for transposed tiles
(cherry picked from commit 6895f6f8cc)
2024-09-16 16:46:57 +02:00
tetrapod00 2eb2052cb9
Change "Node3D" to "Spatial" in VisualShader resource
(cherry picked from commit b9876b626d)
2024-09-16 16:46:29 +02:00
smix8 ea5989e3f5
Add NavigationLink function to change navigation map
Adds NavigationLink function to change navigation map.

(cherry picked from commit e6ff4e56e3)
2024-09-16 16:45:38 +02:00
bruvzg a7d79f9e6c
Fix `TextServer::shaped_text_*_character_pos` for the first character of wrapped string. Allow starting/ending RTL selection before line start.
(cherry picked from commit 932acce8f2)
2024-09-16 16:38:23 +02:00
bruvzg 79848620ce
[BMFont] Fix importing fonts with `Match char height` enabled.
(cherry picked from commit e7f215c2c4)
2024-09-16 16:35:06 +02:00
aaronp64 302af188a1
Fix tooltip content being cut off at some display scales
When getting the minimum size for a tooltip, we get the value as a Vector2.  Window::set_size() takes a Vector2i, so this size was getting truncated.  At certain display scales, this could be enough to cut off part of the tooltip.  Updated to call Vector2::ceil() to round up before calling Window::set_size()

Fixes #91958

(cherry picked from commit ca8e3d4923)
2024-09-16 16:34:31 +02:00
Hugo Locurcio 6595395b8b
Fix LightmapGI not taking environment sky rotation into account when baking
The sky rotation now affects the baked environment lighting as it should,
making it match how real-time ambient light rendering works.

Co-authored-by: Per Melin <git@melin.net>
(cherry picked from commit 661cf1f351)
2024-09-16 16:33:15 +02:00
Kyle Appelgate 2df506ea15
fix to ensure generated light probes do not get placed too close to manual light probes
(cherry picked from commit 97205ea5b8)
2024-09-16 16:32:22 +02:00
Silc Lizard (Tokage) Renew 5caaa6ce19
Fix incorrect warning on SkeletonModifier
(cherry picked from commit 4727c4f783)
2024-09-16 16:30:30 +02:00
Bastiaan Olij 620cc30f2a XRNode - fix visibility issue 2024-08-29 11:55:43 +10:00
bruvzg 7f6c14522c
Stop popup release timeout on click. 2024-08-12 19:35:20 +03:00
Rémi Verschelde ece2e6d23b
Merge pull request #95377 from raulsntos/gdextension/expose-property-accessors/Animation
Make `Animation::capture_included` read-only
2024-08-12 14:10:37 +02:00
Raul Santos 415331f474
Make `Animation::capture_included` read-only
The `PROPERTY_USAGE_READ_ONLY` flag only makes the property read-only in the inspector, but the property also has the `PROPERTY_USAGE_NO_EDITOR` flag which means it won't show up in the inspector. So it does nothing, while still making it editable from scripting.

To make it read-only for scripting too, this PR removes the setter from the `PropertyInfo`. And since the `set_capture_included` method is now unused, it was also removed.
2024-08-10 18:53:45 +02:00
Rémi Verschelde 2edf9b95b3
AudioStreamPolyphonic: Implement stopping with sample playback
Fixes #94724.
2024-08-09 10:57:50 +02:00
Rémi Verschelde 1e8bfdcd4f
Merge pull request #95239 from AThousandShips/skeleton_internal_fix
Make `Skeleton3D` bone simulator an internal child
2024-08-07 12:08:12 +02:00
Rémi Verschelde 5e7592a342
Merge pull request #95232 from bruvzg/popup_time_up
[PopupMenu] Increase mouse button release timeout and reset it from `post_popup`.
2024-08-07 12:07:57 +02:00
A Thousand Ships 602a348ab1
Make `Skeleton3D` bone simulator an internal child 2024-08-07 11:38:16 +02:00
Hugo Locurcio 5bc4b49f0b
Document converting a TileMap node to TileMapLayer using the editor 2024-08-07 11:15:29 +02:00
bruvzg 460b538746
[PopupMenu] Increase mouse button release timeout and reset it from `post_popup`. 2024-08-07 10:22:12 +03:00
Rémi Verschelde c81aa6e1fc
Merge pull request #95122 from kleonc/tab_bar_clear_close_button_rect
Clear `TabBar` tab close button's rect after it's hidden
2024-08-06 12:31:57 +02:00
Rémi Verschelde 20eee3edd3
Merge pull request #95083 from bruvzg/base_font_loops
[Font] Add check for cyclic base font dependencies.
2024-08-06 12:31:42 +02:00
Rémi Verschelde b27e9f0b3b
Merge pull request #95059 from Geometror/fix-graphedit-port-snapping-again
Fix GraphEdit port snapping in certain edge cases
2024-08-06 12:31:17 +02:00
kleonc d1740e6cbf Clear TabBar tab close button's rect after it's hidden 2024-08-04 11:59:37 +02:00
bruvzg 5c8a8c57be
[Font] Add check for cyclic base font dependencies. 2024-08-03 00:00:11 +03:00
Hendrik Brucker 1f0eddca70 Fix GraphEdit port snapping in certain edge cases 2024-08-02 12:38:53 +02:00
Silc Lizard (Tokage) Renew 8323c3891d Snap current position to the edge on animation finished 2024-08-01 23:57:47 +09:00
Rémi Verschelde 6e50da8a37
Merge pull request #94931 from KoBeWi/1_window_1_hack
Use legacy color picking in single window mode
2024-08-01 00:06:38 +02:00
kit fce60c2b3f Fix update mouse cursor state wrong mouse position 2024-07-31 14:10:40 -04:00
Rémi Verschelde 5271a39279
Merge pull request #94810 from maidopi-usagi/graphedit_signal_fix
[GraphEdit] Correctly disconnect signal to `connection_layer`
2024-07-30 12:28:55 +02:00
kobewi 385284311a Use legacy color picking in single window mode 2024-07-29 23:44:01 +02:00
Rémi Verschelde 46aff5ce10
Merge pull request #94848 from kitbdev/fix-placeholder-fit-content
Fix TextEdit placeholder fit content height
2024-07-29 15:17:32 +02:00
Rémi Verschelde 88d9325065
Merge pull request #94859 from TokageItLab/unstorage-node-time-info
Make NodeTimeInfo be not stored in tscn to prevent AnimationTree version control contamination
2024-07-28 17:47:12 +02:00
Rémi Verschelde 7aba10b170
Merge pull request #94858 from TokageItLab/early-break-loop-at-end
Determine `break_loop_at_end` 1 frame earlier using prediction by delta
2024-07-28 17:47:09 +02:00
Silc Lizard (Tokage) Renew 4de79fed45 Determine break_loop_at_end 1 frame earlier using prediction by delta 2024-07-28 15:55:41 +09:00
Silc Lizard (Tokage) Renew e16808cd69 Make NodeTimeInfo be not stored in tscn 2024-07-28 15:00:50 +09:00
kit b6c054e793 Fix TextEdit placeholder fit content height 2024-07-27 17:14:51 -04:00
kit 36677798f1 Fix TextEdit scroll properties editor hint suffix 2024-07-26 18:18:29 -04:00