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
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
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
Michael Alexsander
af0dd6591b
Remove unnecessary zero multiplications
...
(cherry picked from commit f057d755ab
)
2023-04-24 17:07:09 +02:00
clayjohn
2c773e12b8
Use angle_rand to calculate base_angle in particles process material
...
(cherry picked from commit 821917ba9f
)
2023-04-24 17:01:37 +02:00
Ninni Pipping
ccc761dd93
Don't apply scale to autohide theme property
...
(cherry picked from commit 722597aa97
)
2023-04-24 16:28:29 +02:00
clayjohn
95f5027453
Write out render_mode even when mode is set to default in VisualShaders
...
(cherry picked from commit 016946b552
)
2023-04-24 16:28:28 +02:00
Ziya Erkoc
210879d284
Warn if a concave shape is assigned to ConvexPolygonShape2D
...
(cherry picked from commit 6fb113f59f
)
2023-04-07 17:44:40 +02:00
bruvzg
2c80ded6ce
[RTL] Fix fill align and trim with enabled dropcap.
...
(cherry picked from commit efa647bb17
)
2023-04-07 17:44:36 +02:00
Ninni Pipping
fa9f92112c
Make `Gradient` resort points on `reverse`
...
(cherry picked from commit 3795677f3d
)
2023-03-27 17:46:01 +02:00
Mikael Hermansson
30a9b5fe9b
Open up bounds of `Shape3D.margin` to support other physics engines
...
(cherry picked from commit ec6694ce3c
)
2023-03-27 17:35:04 +02:00
Patrick
9278da6f9b
Fix ndc calculation for LinearSceneDepth VS node in GLES3
...
(cherry picked from commit e3802d5b6f
)
2023-03-27 17:31:54 +02:00
RedworkDE
c0c5bdc510
Add dedicated setter for `ImageTextureLayered::_images` to fix `create_from_images` being hidden from the C# bindings
...
(cherry picked from commit f540148072
)
2023-03-27 17:21:29 +02:00
clayjohn
5f6a534569
Use linear filtering without mipmaps for ProceduralSkyMaterial and PhysicalSkyMaterial
...
(cherry picked from commit 572ac91514
)
2023-03-14 13:59:05 +01:00
clayjohn
a41a813af4
Set properties of ImageTexture3D when creating
...
(cherry picked from commit e9d80a821d
)
2023-03-13 22:20:32 +01:00
bruvzg
48a639f4a5
[Bitmap font] Assume outline size is `1` if it's not set, but channel for outline is defined.
...
(cherry picked from commit 67762ec4a6
)
2023-03-13 21:41:21 +01:00
Yuri Sizov
755a86f502
Generate empty textures for theme icons if the SVG module is disabled
...
(cherry picked from commit 64215ad119
)
2023-03-13 14:12:44 +01:00
Nicholas Huelin
f55c61d601
Modify the default theme GraphNode close_h_offset
...
Modifies the close_h_offset to be 12 instead of 22. This better aligns the default position.
(cherry picked from commit 961d6763fb
)
2023-03-13 14:06:08 +01:00
clayjohn
c69b14e96e
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 12:28:02 -08:00
Lyuma
51a4fe1d53
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
...
Implements create_convex_shape in ImpoterMesh.
Note: ImporterMeshInstance3D::get_mesh() is safe.
The only dangerous function with side effects is ImpoterMesh::get_mesh()
2023-02-23 11:55:28 +01:00
Rémi Verschelde
0a15f51617
Merge pull request #73741 from dalexeev/fix-sprite-frames-convert
...
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 10:13:57 +01:00
Danil Alexeev
d49ac0466f
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 11:17:10 +03:00
kobewi
a899f547ae
Fix reset_state() in TileSet
2023-02-21 22:38:20 +01:00
Juan Linietsky
34fd128723
Fix shader parameter assign
...
-Make sure the remap is created properly if never assigned before.
Fixes #72923 . Supersedes #73066 .
2023-02-18 13:13:54 +01:00
Yuri Sizov
0c4bdf443d
Merge pull request #65353 from QbieShay/qbee/fix-billboard-nonuniform-scale
2023-02-18 12:31:42 +03:00
Rémi Verschelde
1075931c64
Remove unexposed ProxyTexture, mark AnimatedTexture as deprecated
...
According to reduz:
> [AnimatedTexture] should be removed together with ProxyTexture, its just
> not efficient at all in Vulkan and causes invalidation of all descriptor
> sets depending on it
> it was needed mostly for animated tilemaps, but nowadays there is not a lot
> of reason for it
Marking AnimatedTexture as deprecated accordingly, until we reach consensus
for removing it completely.
2023-02-17 12:32:26 +01:00
Tecelli Akıntuğ
1ba05b4b3a
Fix AnimatedTexture inconsistency when setting frame
2023-02-16 22:34:10 +01:00
Haoyu Qiu
ccc3bdebb3
Add missing i18n in tiles editor
2023-02-15 23:08:03 +08:00
Chris Hutchinson
d842d215df
Prevent crash in ImmediateMesh.create_outline by ensuring
...
that when no indices are specified, the number of vertices is
at least a factor of 3. Fixes #73201
2023-02-14 22:42:07 -05:00
QbieShay
7881422901
make particle billboard take into account non-uniform scale
2023-02-13 21:18:55 +01:00
Rémi Verschelde
a90bbc3544
Merge pull request #72225 from MinusKube/shaped_text_invalidated_bug
...
Mark dirty flags when shaped texts are invalidated
2023-02-13 09:13:27 +01:00
Rémi Verschelde
77b415ab6d
Fix SurfaceTool crash with invalid bone/weight count
...
Fixes #53191 .
2023-02-12 14:14:03 +01:00
Aaron Franke
be916233f9
Check for CanvasItem instead of Control and Node2D
2023-02-11 02:18:10 -06:00
Rémi Verschelde
b12bf7ff02
Merge pull request #69550 from Rindbee/fix-script-editor-not-reload-via-lsp
...
Fix internal editor not updating when using external editor via LSP
2023-02-09 14:01:33 +01:00
clayjohn
04a9933f2e
Mark fma function as high end so it isn't used with the gl_compatibility renderer
2023-02-08 12:56:15 -08:00
kobewi
095c805079
Fix sub-resource IDs resetting when preloaded
2023-02-07 14:13:22 +01:00
Patrick Dawson
80ae3feca7
Avoid returning self from `_get_base_font_or_default()`
2023-02-05 04:37:59 +01:00
Rémi Verschelde
ea5cf7d4b8
Merge pull request #72655 from smix8/navigationmesh_bake_aabb_fix_4.x
...
Fix NavigationMesh baking AABB Editor handling and visuals
2023-02-04 00:21:33 +01:00
Yuri Rubinsky
c0a3129210
Prevent preview error for the instance parameter in visual shader
2023-02-03 15:28:04 +03:00
smix8
7caf08ec75
Fix NavigationMesh baking AABB Editor handling and visuals
...
Fixes handling and visuals for Navigation Mesh baking AABB in the Editor.
2023-02-03 11:54:13 +01:00
Hugo Locurcio
dc06575475
Add a property hint for PrimitiveMesh's `uv2_padding`
...
Negative values are not valid and will always cause lightmap bleeding
to occur.
This also improves the documentation for the `uv2_padding` property
in the class reference.
2023-02-02 14:55:51 +01:00
Rémi Verschelde
e52213e2fa
More codespell fixes, do more changes from previous ignore list
2023-02-01 12:11:36 +01:00
Rémi Verschelde
d9ade633b3
Merge pull request #71936 from akien-mga/remove-some-unused-signals
...
Remove some unused signals
2023-02-01 07:53:52 +01:00
Rémi Verschelde
e8240031e7
Merge pull request #71479 from raulsntos/virtual-return-type
...
Use enum instead of int in virtual methods return type
2023-02-01 07:45:28 +01:00
Rémi Verschelde
64f0dad2dc
Merge pull request #70446 from akien-mga/meshoptimizer-4a287848f
...
meshoptimizer: Sync with upstream commit 4a287848f
2023-02-01 07:40:23 +01:00
Rémi Verschelde
ab4d8df163
Merge pull request #72485 from BastiaanOlij/add_eye_matrix_access
...
Expose EYE_OFFSET to gdshader code
2023-02-01 07:33:18 +01:00
Rémi Verschelde
df68909da4
Merge pull request #72459 from KoBeWi/debinds
...
Add unbinds to `scn`
2023-02-01 07:31:17 +01:00
Rémi Verschelde
3eb1ac9fd2
Merge pull request #72075 from Maran23/extents-to-size
...
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
2023-02-01 07:30:09 +01:00
Rémi Verschelde
cf9df3b5d4
meshoptimizer: Sync with upstream commit 4a287848f
...
4a287848fd
2023-01-31 22:27:49 -08:00
kobewi
7780b40a3a
Add unbinds to scn
2023-02-01 03:03:55 +01:00