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
Nong Van Tinh
e1de9f9fc4
Fixes gutter set width results in receiving only half of the desired size
...
(cherry picked from commit bb3d0fc6b7
)
2023-03-27 17:16:25 +02:00
bruvzg
de08766656
Fix IME position in the single window mode sub-windows.
...
(cherry picked from commit 3ca3ee36ab
)
2023-03-27 17:12:30 +02:00
Michael Alexsander
bf8ab62ca3
Fix `GraphNode` resizing when its bottom border is too thin
...
(cherry picked from commit c567a853db
)
2023-03-27 16:45:22 +02:00
bruvzg
db3fadc560
Improve layout direction/locale automatic selection.
...
(cherry picked from commit 82d7923c65
)
2023-03-27 16:36:53 +02:00
Markus Sauermann
3cae980c17
Fix some ways to create inconsistent Viewport sizes
...
In the editor, it was possible to set the size of a `SubViewport` even
in cases where a parent `SubViewportContainer` had stretch enabled.
This PR disables editing a `SubViewport.size` while the parent disallows
it and it makes necessary adjustments during `NOTIFICATION_ENTER_TREE`.
(cherry picked from commit 34a7fc7447
)
2023-03-27 16:34:05 +02:00
Paweł
ca0ba83f03
Fix scrolling behaviour with low page value
...
(cherry picked from commit 1608bea188
)
2023-03-27 16:28:29 +02:00
smix8
8e8ecf52cf
Fix NavigationAgent3D debug path duplicated points
...
Fixes duplicated points in NavigationAgent3D debug path.
(cherry picked from commit 0b8798a995
)
2023-03-16 16:45:16 +01:00
smix8
bea2da94da
Allow negative NavigationAgent2D path debug line_width for thin lines
...
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.
(cherry picked from commit f6a10c0565
)
2023-03-16 16:45:07 +01: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
justchen1369
59a78ecf5a
Fix exported type for Menubar start_index
...
(cherry picked from commit dbfecdb3b0
)
2023-03-14 13:59:04 +01:00
RedworkDE
f9bb1d3174
Fix buffer overrun in CPUParticles3D
...
(cherry picked from commit 89980dd9c9
)
2023-03-14 13:59:03 +01:00
Johan Aires Rastén
d229ca2f27
Fixed incorrect ERROR message when setting new PrimitiveMesh
...
If calling set_mesh with a PrimitiveMesh that has pending update, the
_mesh_changed function would be called twice. The first time before
set_base had been called, which could lead to an ERROR message about
trying to set an invalid surface override material.
(cherry picked from commit 007b488a5c
)
2023-03-14 13:59:03 +01:00
Rémi Verschelde
7e74568709
FBX: Disable importer when canceling FBX2glTF setup
...
Pretty hacky solution but it's better than an infinite loop.
All this import setup needs to be redone, it's very difficult to properly
bail out from an invalid import without triggering reimport loops.
Also fix underline not visible at default editor scale in LinkButton.
Fixes #73319 .
(cherry picked from commit d81e6ee024
)
2023-03-14 13:59:02 +01:00
clayjohn
a41a813af4
Set properties of ImageTexture3D when creating
...
(cherry picked from commit e9d80a821d
)
2023-03-13 22:20:32 +01:00
bruvzg
34c909b41e
[TextEdit] Do not draw virtual spaces (word break / justification points).
...
(cherry picked from commit 25bc62ad13
)
2023-03-13 22:09:27 +01:00
Haoyu Qiu
050ec70ea4
Notify child controls when BackBufferCopy's rect changed
...
(cherry picked from commit 602a0d2fbc
)
2023-03-13 21:57:20 +01:00
kobewi
4e90cc55ec
Check for type mismatch in PropertyTweener.from()
...
(cherry picked from commit 45f4d59fa4
)
2023-03-13 21:45:34 +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
Arman Elgudzhyan
7e6bc72f7c
Don't autocomplete numbers in GDScript
...
Cancel code autocompletion when a numerical value is entered. Avoids interference when setting numbers.
(cherry picked from commit 688d00b706
)
2023-03-13 21:35:23 +01:00
Marcus Elg
6041ad5c70
Fix Camera2D position smoothing properties not being grouped
...
(cherry picked from commit a835dfd96d
)
2023-03-13 21:25:14 +01:00
bruvzg
764fe8ac51
Automatically reparent editor message dialogs to avoid error spam.
...
(cherry picked from commit 921f3b7589
)
2023-03-13 14:48:33 +01:00
Paweł Fertyk
41f4068a6e
Fix RichTextLabel crash with out of bound exception
...
Fixes #68242 .
(cherry picked from commit 44592c8c19
)
2023-03-13 14:13:36 +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
Fabio Alessandrelli
f9bcaccc11
[MP] Fix orphan StringName on close.
...
Use a static StringName for the registered default interface name.
2023-02-27 09:45:16 +01:00
bruvzg
315164c619
[TextEdit / IME] Check selection before deleting to avoid unnecessary error messages.
2023-02-27 08:58:28 +02:00
clayjohn
c69b14e96e
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 12:28:02 -08:00
bruvzg
cebfc02d6f
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way.
2023-02-24 21:17:05 +02:00
Rémi Verschelde
e849f07335
Merge pull request #73847 from smix8/fix_shapecast3d_exception_functions_4.x
...
Fix ShapeCast3D add and remove exception functions
2023-02-24 13:30:36 +01:00
kobewi
cf50eb130e
Fix custom viewports in Camera2D
2023-02-24 13:26:31 +01:00
smix8
5d1a6e9b12
Fix ShapeCast3D add and remove exception functions
...
Fixes that ShapeCast3D would accept any parameter object and silently return when it was not a CollisionObject3D.
2023-02-23 23:45:16 +01:00
Rémi Verschelde
13382a88df
Merge pull request #73814 from lyuma/importer_mesh_convex
...
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
2023-02-23 13:55:43 +01: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
76d4d09bfa
Revert Label text reshaping fix #71553 and subsequent regression fixes
...
Despite a lot of great work from Pedro to try to improve the Label text
reshaping logic and fix subsequent regressions, we found ourselves still
chasing more edge cases, such as #73736 (which got reverted already due
to it causing yet another regression).
In parallel, it seems like the crash scenario that #71553 was addressing
got solved differently in the master branch, so it appears like this
change is no longer necessary at all (at least not urgently), so we
decided to revert to the previous known "ok" state of Label.
- Revert #71553 "Prevent infinite cascade of re-layout after label text reshaping"
This reverts commit ed8c5cd52f
.
- Revert #72387 "Enhance label sizing algorithm"
This reverts commit 5131b81a4d
.
- Revert #73234 "Fix blank non-autowrapping labels"
This reverts commit 3ccabee9ae
.
- Revert #73343 "Make label sizing algorithm more robust"
This reverts commit 4f7f1ef60b
.
- Revert #73426 "Fix width determination of non-trimmed, non-wrapped labels"
This reverts commit 73b6c0b972
.
2023-02-23 10:36:42 +01:00
Rémi Verschelde
d66f6b3b04
Revert "Fix visible_lines calculation"
...
This reverts commit ceee405cec
.
This caused regressions, see #73736 and #73780 .
Fixes #73780 .
2023-02-22 22:44:55 +01:00
Rémi Verschelde
d8014e9fab
Merge pull request #73736 from helviett/fix_visible_lines_calculation
...
Fix visible_lines calculation
2023-02-22 14:50:06 +01:00
helviett
ceee405cec
Fix visible_lines calculation
2023-02-22 14:17:52 +04:00
Rémi Verschelde
be336cea1e
Merge pull request #73587 from YuriSizov/rtl-the-underliner
...
Ensure minimal thickness for `RichTextLabel` underlines
2023-02-22 10:14:32 +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
PrecisionRender
e713c270ea
Fix crash when reparenting SoftBody3D with pinned points
2023-02-20 12:12:58 +01:00
Rémi Verschelde
69b99730e0
Merge pull request #73597 from MewPurPur/add-missing-queue-redraw--oh-wait-that-barely-narrows-it-down
...
Fix Indent/Unindent without a selection not causing a redraw
2023-02-20 11:28:18 +01:00
VolTer
9de731a9ec
Fix Indent/Unindent without a selection not causing a redraw
2023-02-19 21:08:04 +01:00
Yuri Sizov
80806cb935
Merge pull request #73585 from YuriSizov/particles-remove-damping-limit
...
Remove visual limit for damping in CPUParticles
2023-02-19 18:34:09 +03:00
Yuri Sizov
28b7556914
Ensure minimal thickness for RichTextLabel underlines
2023-02-19 13:42:25 +01:00
Paulb23
60161cbe7d
Fix ctrl+backspace crash with multicarets on the same line
2023-02-19 12:04:14 +00:00
Albin
82b90c0e08
Remove visual limit for damping in CPUParticles
...
Issue #56324 notes that you may can't set the damping property of
CPUParticles2D to anything more that 100 in the editor inspector
while you may set it to anything in code, this is considered a bug and
changed in this commit
2023-02-19 12:47:34 +01:00
Rémi Verschelde
9ccfe68d50
Merge pull request #73526 from YuriSizov/branded-project-llc
...
Add a custom icon for the `project.godot` file in the `EditorFileDialog`
2023-02-19 01:01:08 +01:00