Commit Graph

13012 Commits

Author SHA1 Message Date
kobewi 326314eaa9 Provide more context when scene fails to load
(cherry picked from commit c6c872ba34)
2024-01-23 19:15:04 +01:00
coumcashier 4619d34b91 Fix storing invalid item height values in `ItemList`
The height of the last N items is incorrectly overwritten with
the max height of first row (N = number of columns). This happen
in the first iteration of the while loop. Moving this code inside
if (all_fit) makes sure the last rows height is only updated at
the end when max height (max_h) is calculated for the last row.

(cherry picked from commit 1533292f09)
2024-01-23 19:09:45 +01:00
A Thousand Ships 9c68648d72 Ensure binds are duplicated with `Node` signals
(cherry picked from commit 9cf13cedfd)
2024-01-23 17:42:36 +01:00
bitsawer 28a44d7bbc Fix several Material texture parameter updates
(cherry picked from commit 1ec97a7b91)
2024-01-23 17:42:22 +01:00
stoofin 73b0984764 Fixed PlaneMesh tangents for 'Face X' orientation
(cherry picked from commit 6099d9f3d1)
2024-01-23 17:33:01 +01:00
A Thousand Ships f563f8bfa6 Fix invalid return from some more `_get/_set`
Invalidly returned `true` on the non-matched path

(cherry picked from commit 3ef6314980)
2024-01-23 16:54:03 +01:00
A Thousand Ships f311b0557c Fix invalid return from some `_get/_set`
Invalidly returned `true` on the non-matched path

(cherry picked from commit b04cf8486d)
2024-01-23 16:54:02 +01:00
Hugo Locurcio 0ca1957445 Clamp ReflectionProbe Max Distance to 262,144 to fix rendering issues
(cherry picked from commit ce421da908)
2024-01-23 16:54:02 +01:00
bitsawer d38b61d523 Fix VoxelGI MultiMesh and CSG mesh baking
(cherry picked from commit cbb39f4b6e)
2024-01-23 16:54:02 +01:00
A Thousand Ships a33cf3b6bf Ensure input event is valid in `PopupMenu::activate_item_by_event`
(cherry picked from commit f721b34b4e)
2024-01-23 16:54:02 +01:00
Haoyu Qiu a4912b8a63 Translate TextEdit placeholder
(cherry picked from commit d53529f488)
2024-01-23 16:54:02 +01:00
Brian MacIntosh 04bd9cc06c "Whole Words" search can detect word boundaries inside the search term.
For example, searching for ".func" will now match in "a.func" even with Whole Words enabled.

(cherry picked from commit 676627e1d1)
2024-01-23 16:03:16 +01:00
bruvzg 8face42022 [SystemFont] Check name when selecting the best matching face from a collection.
(cherry picked from commit a5a0e48dbc)
2024-01-23 16:03:15 +01:00
warriormaster12 9e315e7c79 Make SkeletonIk3D node usable
(cherry picked from commit ddf93f3f59)
2023-10-25 12:23:48 +02:00
Ninni Pipping c148398735 Fix incorrect virtual function in `VideoStream.set_paused`
(cherry picked from commit 2284689b0e)
2023-10-24 19:51:53 +02:00
A Thousand Ships 578fa8603d [Audio] Fix pausing stream on entering tree
The paused notifications are only sent when pause status is changed,
this ensures that streams that are non-processing do not play when added
to the tree. Also ensures that the `process_mode` property applies
generally.

(cherry picked from commit 72fccd82c5)
2023-10-24 19:51:53 +02:00
A Thousand Ships d56a6ad461 Make error suggestion less ambiguous
(cherry picked from commit bea7cc784d)
2023-10-24 19:51:52 +02:00
bitsawer 27d47246b5 Fix ShaderGlobalsOverride property handling
(cherry picked from commit 71e32364ee)
2023-10-24 19:50:22 +02:00
Yogendra Manawat 2b8dbbccae Fix scrolling popup_menu On keyboard/controller input
(cherry picked from commit a16fdb05ae)
2023-10-24 19:50:22 +02:00
bitsawer e65f98576b Fix VoxelGI bake memory leak
(cherry picked from commit 416ef5ad1b)
2023-10-24 19:00:16 +02:00
bitsawer 27b0e5aebb Fix BoneAttachment3D signal connection
(cherry picked from commit 34574db5b9)
2023-10-24 19:00:16 +02:00
GrammAcc 3c3fad858c AssetLib: Fix long plugin names breaking the UI
The UI was extending past the screen width when loading a page diplaying
a plugin with an especially long title in the asset store plugin.

I implemented a new `EditorAssetLibraryItem::clamp_width` method that
checks that the title text is not longer than the column width minus
some padding and truncates it if it is.

I also noticed that the nav buttons for paginated results were causing the UI to extend past
the screen width on higher editor scales since they were hardcoded to
show ten page buttons if there were enough results. I modified the
pagination slightly to display a dynamic number of nav buttons based on
the editor scale in order to fix this other cause of the same problem.

I had to use the font of the `title`, which is a `LinkButton` in order
to determine the text width, so I added a public getter `get_button_font` to the `LinkButton` class.

(cherry picked from commit d63a88bef1)
2023-10-24 18:17:02 +02:00
jsjtxietian 2d82ab735c Fix can not set process priority of node if not any process is processing
(cherry picked from commit e36117f557)
2023-10-24 18:17:01 +02:00
BlueCube3310 f220aaa54b Fix TreeItem range slider not working
(cherry picked from commit c759ac0e4f)
2023-10-24 18:17:01 +02:00
kleonc e5c8d1ec0b Fix animated tile time-slice calculation accumulating float errors
(cherry picked from commit 20d6a9b2e1)
2023-10-24 18:16:52 +02:00
bitsawer 3d47a3662f Fix LightmapGI baking with GridMap
(cherry picked from commit 8c26da5460)
2023-10-24 17:10:40 +02:00
bitsawer 08bc3570ae Fix ImporterMesh bone weight handling during lightmap unwrap
(cherry picked from commit 145503765a)
2023-10-24 17:05:24 +02:00
Lyuma 299413157a Avoid crash when generating LODs on meshes with non-finite vertices.
(cherry picked from commit acf76027bd)
2023-10-24 16:52:59 +02:00
Tom Coxon ba27e16275 Fix animation keyframes being skipped sometimes when being played backwards. #57271
(cherry picked from commit 1a52c0c543)
2023-10-24 16:52:59 +02:00
Aaron Franke 3518801deb Limit mesh complexity in LOD generation to prevent crashing
(cherry picked from commit f95f2d1149)
2023-10-24 16:52:59 +02:00
Chia-Hsiang Cheng 48b92610ce Ensure methods skipped by AnimationPlayer::seek are not called
(cherry picked from commit 125ae78a89)
2023-10-24 16:52:58 +02:00
A Thousand Ships 74506ce901 Fix incorrect cast when animating `int`
Type was cast to `int` rather than `int64_t`
Also corrects `real_t` to `double`

(cherry picked from commit 035cf5e210)
2023-10-24 16:33:53 +02:00
bitsawer daa44c778c Fix VoxelGI CameraAttributes exposure normalization handling
(cherry picked from commit c73e1f0d22)
2023-10-24 16:05:00 +02:00
Marcus Elg 035fece0e7 Fix GPUParticle2D offset stutter
(cherry picked from commit 936fd8db38)
2023-10-24 16:05:00 +02:00
Rindbee 00d5da2f09 Clear the previously set state when configuring for a new scene root node
Saving a subscene causes the main scene to be re-instantiated. And the resource
instance in the main scene will be reused when the main scene is re-instantiated.
So for resources with `resource_local_to_scene` enabled, resetting state may be
necessary (at least for `ViewportTexture`).

(cherry picked from commit 4795c3cdfa)
2023-10-19 21:49:00 +02:00
Chia-Hsiang Cheng 3e9751aca4 Avoid emitting signals if the animation is not ready to be processed
(cherry picked from commit ef5d0b1c06)
2023-10-19 21:48:43 +02:00
Septian 35d622b029 Fix particle shader deterministic random values
(cherry picked from commit cb7400d67a)
2023-10-19 21:45:12 +02:00
Haoyu Qiu b027d000cb Fix OptionButton min size when fit longest item is enabled
(cherry picked from commit 5dd854513e)
2023-10-19 21:45:12 +02:00
Haoyu Qiu 06b777fe4a Fix "a number is required" error when printing RID
(cherry picked from commit 35f28407d9)
2023-10-19 21:20:06 +02:00
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