summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2023-03-27Fix `AnimatedSprite2D` autoplay warningNinni Pipping
Changing of autoplay when changing `SpriteFrames` is not done by the user and warning is unhelpful (cherry picked from commit 4d4342e018367499c6b6709e6dc3ca60c4f3dd7a)
2023-03-27CanvasItem Fix ENTER_CANVAS / VISIBILITY_CHANGED notifications order when ↵kleonc
entering tree (cherry picked from commit 6e3820fd4dfb93f9be98fa86f989d123024ed216)
2023-03-27Make `Gradient` resort points on `reverse`Ninni Pipping
(cherry picked from commit 3795677f3d85d0d5a741b9b040a423d8f3ad3569)
2023-03-27Fix get_drag_data not overridable in some Controlskobewi
(cherry picked from commit 36141dc469baaf027e753718598b32c15fe7c541)
2023-03-27Open up bounds of `Shape3D.margin` to support other physics enginesMikael Hermansson
(cherry picked from commit ec6694ce3c7ce53ee076ed5e6f0d08d1357a5381)
2023-03-27Fix ndc calculation for LinearSceneDepth VS node in GLES3Patrick
(cherry picked from commit e3802d5b6f4413b80f9d3a7dce3e54b4e3d34d38)
2023-03-27Add dedicated setter for `ImageTextureLayered::_images` to fix ↵RedworkDE
`create_from_images` being hidden from the C# bindings (cherry picked from commit f54014807291bde72ed5781be42460a820ea68b8)
2023-03-27Fixes  gutter set width results in receiving only half of the desired sizeNong Van Tinh
(cherry picked from commit bb3d0fc6b7f6caeffbfe43bd05d856373efa5b39)
2023-03-27Fix IME position in the single window mode sub-windows.bruvzg
(cherry picked from commit 3ca3ee36abb2eb9e97b6b8de0ebc99abceda54c2)
2023-03-27Fix `GraphNode` resizing when its bottom border is too thinMichael Alexsander
(cherry picked from commit c567a853db43c7c3ac463f775373ca65f98f0896)
2023-03-27Improve layout direction/locale automatic selection.bruvzg
(cherry picked from commit 82d7923c653b6328ba279bd4183b63b69e21edfc)
2023-03-27Fix some ways to create inconsistent Viewport sizesMarkus Sauermann
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 34a7fc744762dcf66eff7e3b5e4d46e09e7c0bdc)
2023-03-27Fix scrolling behaviour with low page valuePaweł
(cherry picked from commit 1608bea18809dcb4e744ee936f8de8f5660adfbe)
2023-03-16Fix NavigationAgent3D debug path duplicated pointssmix8
Fixes duplicated points in NavigationAgent3D debug path. (cherry picked from commit 0b8798a9950ca7a86b1b2e20f69f22ba4396d55a)
2023-03-16Allow negative NavigationAgent2D path debug line_width for thin linessmix8
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering. (cherry picked from commit f6a10c0565e32e0170bcce71635d8bad16077d1d)
2023-03-14Use linear filtering without mipmaps for ProceduralSkyMaterial and ↵clayjohn
PhysicalSkyMaterial (cherry picked from commit 572ac915145e7ccb6d32ab5c356076820e964433)
2023-03-14Fix exported type for Menubar start_indexjustchen1369
(cherry picked from commit dbfecdb3b04956db58ee199fdbd9f7c03794e269)
2023-03-14Fix buffer overrun in CPUParticles3DRedworkDE
(cherry picked from commit 89980dd9c98a01b6d353a9a087f5a4caec2dd1aa)
2023-03-14Fixed incorrect ERROR message when setting new PrimitiveMeshJohan Aires Rastén
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 007b488a5c23b33c6e0b741b55a482e5229f2b90)
2023-03-14FBX: Disable importer when canceling FBX2glTF setupRémi Verschelde
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 d81e6ee024a8c64b80ac25c96b33c749ba1db79d)
2023-03-13Set properties of ImageTexture3D when creatingclayjohn
(cherry picked from commit e9d80a821d2b1e547ed82361f467e05846f8d611)
2023-03-13[TextEdit] Do not draw virtual spaces (word break / justification points).bruvzg
(cherry picked from commit 25bc62ad13372490e7ba2c889174ceca34d1f33f)
2023-03-13Notify child controls when BackBufferCopy's rect changedHaoyu Qiu
(cherry picked from commit 602a0d2fbc84d598cffc79eccd5110f650b6e3c9)
2023-03-13Check for type mismatch in PropertyTweener.from()kobewi
(cherry picked from commit 45f4d59fa477d6e22adb02432449e0fda10ac5d2)
2023-03-13[Bitmap font] Assume outline size is `1` if it's not set, but channel for ↵bruvzg
outline is defined. (cherry picked from commit 67762ec4a6c5e45951a238453188ce9f93cb24d9)
2023-03-13Don't autocomplete numbers in GDScriptArman Elgudzhyan
Cancel code autocompletion when a numerical value is entered. Avoids interference when setting numbers. (cherry picked from commit 688d00b70645a822ba694b13bcdb312e74d8c034)
2023-03-13Fix Camera2D position smoothing properties not being groupedMarcus Elg
(cherry picked from commit a835dfd96d2a758fb194237954f0d4824ff08e05)
2023-03-13Automatically reparent editor message dialogs to avoid error spam.bruvzg
(cherry picked from commit 921f3b7589084e07a4b6eefd89ec7fe81857a8b7)
2023-03-13Fix RichTextLabel crash with out of bound exceptionPaweł Fertyk
Fixes #68242. (cherry picked from commit 44592c8c197b072d5beee3f14c9c6869a94e9671)
2023-03-13Generate empty textures for theme icons if the SVG module is disabledYuri Sizov
(cherry picked from commit 64215ad1192878b72e784c5a62ea9b2dba0520dd)
2023-03-13Modify the default theme GraphNode close_h_offsetNicholas Huelin
Modifies the close_h_offset to be 12 instead of 22. This better aligns the default position. (cherry picked from commit 961d6763fbfca8b94565079b3c15606bdac9b7c8)
2023-02-27[MP] Fix orphan StringName on close.Fabio Alessandrelli
Use a static StringName for the registered default interface name.
2023-02-27[TextEdit / IME] Check selection before deleting to avoid unnecessary error ↵bruvzg
messages.
2023-02-26Add warnings for unsupported features in mobile and gl_compatibility backendsclayjohn
2023-02-24Revert "Reordering emitted signals in PopupMenu" and fix editor selection ↵bruvzg
issue in the safer way.
2023-02-24Merge pull request #73847 from smix8/fix_shapecast3d_exception_functions_4.xRémi Verschelde
Fix ShapeCast3D add and remove exception functions
2023-02-24Fix custom viewports in Camera2Dkobewi
2023-02-23Fix ShapeCast3D add and remove exception functionssmix8
Fixes that ShapeCast3D would accept any parameter object and silently return when it was not a CollisionObject3D.
2023-02-23Merge pull request #73814 from lyuma/importer_mesh_convexRémi Verschelde
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
2023-02-23import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()Lyuma
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-23Revert Label text reshaping fix #71553 and subsequent regression fixesRémi Verschelde
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 ed8c5cd52f7914daf6f1aa309581ca3b9b048a2e. - Revert #72387 "Enhance label sizing algorithm" This reverts commit 5131b81a4db89d2ef05f7cff7b4b5ea93b140aec. - Revert #73234 "Fix blank non-autowrapping labels" This reverts commit 3ccabee9ae8f261aa7b0110482fbb5d2500d2e38. - Revert #73343 "Make label sizing algorithm more robust" This reverts commit 4f7f1ef60bdbb0c6d6096d3d99f3e967af7d7a39. - Revert #73426 "Fix width determination of non-trimmed, non-wrapped labels" This reverts commit 73b6c0b972150c7cee3975080bedc510f1088adb.
2023-02-22Revert "Fix visible_lines calculation"Rémi Verschelde
This reverts commit ceee405cec171506dde7bc62033dc52ac3797599. This caused regressions, see #73736 and #73780. Fixes #73780.
2023-02-22Merge pull request #73736 from helviett/fix_visible_lines_calculationRémi Verschelde
Fix visible_lines calculation
2023-02-22Fix visible_lines calculationhelviett
2023-02-22Merge pull request #73587 from YuriSizov/rtl-the-underlinerRémi Verschelde
Ensure minimal thickness for `RichTextLabel` underlines
2023-02-22Merge pull request #73741 from dalexeev/fix-sprite-frames-convertRémi Verschelde
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22Fix `SpriteFrames` data loss on 3-to-4 conversionDanil Alexeev
2023-02-21Fix reset_state() in TileSetkobewi
2023-02-20Fix crash when reparenting SoftBody3D with pinned pointsPrecisionRender
2023-02-20Merge pull request #73597 from ↵Rémi Verschelde
MewPurPur/add-missing-queue-redraw--oh-wait-that-barely-narrows-it-down Fix Indent/Unindent without a selection not causing a redraw