summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2023-04-26TileMap Fix rendering odd-sized tileskleonc
(cherry picked from commit c49a7feae3418d0732369b203d0bc9e28723b9db)
2023-04-24Fix blurry borders on antialiased FlatStyleBoxDavid Giardi
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 2ef20045b1282369585c3395ff9f9ae418394817)
2023-04-24Remove unnecessary zero multiplicationsMichael Alexsander
(cherry picked from commit f057d755abdb0328113ab9472c243b94694a8b04)
2023-04-24Rename internal root canvas group to start with underscoreangel-721
(cherry picked from commit e347d7d64d1a6f9fe9993b93f88f7af19cd784dd)
2023-04-24Use Point2 consistently in Control methodsYuri Sizov
While Size2 and Point2 are just aliases, which is why this doesn't fail compilation, it's nice to have things consistent. (cherry picked from commit 4fed87320cf8e1a87fc6c54bf15cef6f610e6091)
2023-04-24Improve line BiDi handling, prevent crash on recursive log updates.bruvzg
(cherry picked from commit 282e4231c26c172b186a5bf22a8ba7f0337ba3d6)
2023-04-24Use angle_rand to calculate base_angle in particles process materialclayjohn
(cherry picked from commit 821917ba9f30b036ef7f43664db3f09d33f59109)
2023-04-24Don't apply scale to autohide theme propertyNinni Pipping
(cherry picked from commit 722597aa97753a12bc5cd643c6350431f45e7d0b)
2023-04-24Write out render_mode even when mode is set to default in VisualShadersclayjohn
(cherry picked from commit 016946b552e16a43eef14b89c010d41dfc28d340)
2023-04-24[TextServer] Use dedicated flag for object replacement characters.bruvzg
(cherry picked from commit d904516e553426dae1fa40566e3fe67f6213e769)
2023-04-24Tree: Fix offset calculation when there are hidden itemsHaoyu Qiu
(cherry picked from commit a083c855214722bc02ed2eb48ea808c7f4d756da)
2023-04-24Allow entering named colors in ColorPicker's hex fieldHugo Locurcio
This also makes the hex field wider to allow displaying 9-character hex code (`#rrggbbaa`) in full, even when using a custom font. (cherry picked from commit 517dc3654a80e30021b8468ef87d0327200963db)
2023-04-24Fixed RichTextLabel wrong selection offset in padded table cell.Koyper
(cherry picked from commit 6f11cf7d31101bc9f4d3c5d644f90b231cd7ce4f)
2023-04-24Always cache parent visibility in CanvasItemYuri Sizov
(cherry picked from commit fd6a743823932639ba30e54d7e65ccd42192d88d)
2023-04-24Fix CI build errorJuan Linietsky
Fixes potential use of uninitialized variable. (cherry picked from commit 37362202a48f6ee731e14e47579979509bc23017)
2023-04-07Fix NavigationObstacles not being added to avoidance simulationsmix8
Fixes NavigationObstacles not being added to avoidance simulation. (cherry picked from commit aadf33efd8a79a038b842dc91c63784302efd753)
2023-04-07Warn if a concave shape is assigned to ConvexPolygonShape2DZiya Erkoc
(cherry picked from commit 6fb113f59f0fca1415a7a92e629f6f8611dc3c0a)
2023-04-07Fix AudioStreamPlayer2D crash when PhysicsServer2D runs on threadsmix8
Fixes AudioStreamPlayer2D crash when PhysicsServer2D runs on thread due to empty PhysicsSpace (cherry picked from commit a5351086b0eafa659c4f4c88471d183cd991b45e)
2023-04-07Fix the issue preventing dragging in the 2D and visual shader editorFredia Huya-Kouadio
(cherry picked from commit 2c7633dce57b925639183c8a21d7550d35f0a114)
2023-04-07GraphNode ignore non-visible children for minimum size.Johan Aires Rastén
(cherry picked from commit 9a60c4affb0d6c3638aea140a820eddf258eb133)
2023-04-07Fix RemoteTransform2D could fail to update AnimatableBody2D's position or ↵Rindbee
rotation Configure the transform per condition, and then only set it once to prevent multiple `NOTIFICATION_LOCAL_TRANSFORM_CHANGED` notifications from being sent. (cherry picked from commit 100b4b1f287600bde9c4f2704c2addbb3d65448e)
2023-04-07Prevent off-screen controls in editorkobewi
(cherry picked from commit 55b50703d7d5cc6322f0806f7580ac31e8553f73)
2023-04-07Expose NavigationAgent path postprocessing and pathfinding algorithm optionssmix8
Exposes the path postprocessing and pathfinding algorithm options of the NavigationAgent internal NavigationPathQueryParameters object. (cherry picked from commit 6e324bb341c795905085e25e7f7c153d89949fa9)
2023-04-07Fix several GraphEdit operations at zoom levels other than 100%Hendrik Brucker
(cherry picked from commit 49587fd6d940f11d40e7a324f2829f88c7204a11)
2023-04-07TextureProgressBar Update upon texture changeskleonc
(cherry picked from commit cdc63214fe58880654e26fd0e2d016c2a927a151)
2023-04-07[RTL] Fix fill align and trim with enabled dropcap.bruvzg
(cherry picked from commit efa647bb177b1eab4cf98c2476584a9fc49a55bf)
2023-04-03[TextEdit] Fix block caret size at the end of the line.bruvzg
(cherry picked from commit efe04af446cd042c6505722ef2608aa03dc63435)
2023-04-03Fixed property hint for platform layers on 3D physics bodyBrennen Shaughnessy
(cherry picked from commit 2d16fe681d25d4119099e876ef809358cc45fa8a)
2023-03-30Update GPUParticles2D/3D speed scale on ENTER_TREEBrian Long
Fix for https://github.com/godotengine/godot/issues/75218 Pause notifications are not sent when a node is added as a child. So GPUParticles2D should also obey its can_process status on ENTER_TREE, not just PAUSED/UNPAUSED. (cherry picked from commit 4652fbd09e81741a146c7dd1dcc89bf4235bdb75)
2023-03-30Exposes the apply_floor_snap function to allow a snap to be made regardless ↵fabriceci
of velocity. (cherry picked from commit 1381e6da4f695323853b24cf8d3632604b629133)
2023-03-27More i18n improvementsHaoyu Qiu
* Make placeholder in editor layout dialog translatable. * Make messages in scene import settings dialog translatable. * Mark theme override property categories for translation. (cherry picked from commit 5a5fd33e42239cb59aa34899675ca4e2a2c99106)
2023-03-27Port robust signal (dis)connection to ShapeCast2DRicardo Buring
Ported from ShapeCast3D. (cherry picked from commit 5bed055cdd5180b4c5d07f07a2a58644a3d1ffc2)
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)