1
0
Fork 0
Commit Graph

2556 Commits

Author SHA1 Message Date
scgm0 cbc960c997 Fix some compilation errors 2025-10-14 05:54:58 +08:00
Lukas Tenbrink 985e6178b4 Remove extraneous includes from `texture.h`. 2025-10-10 18:39:16 +02:00
Lukas Tenbrink 33689d7beb Remove transitive `mesh.h`, `rendering_server.h` and `shader.h` includes from `node.h`. 2025-10-08 12:16:52 +02:00
Thaddeus Crews fb572aff53
Merge pull request #107666 from Sch1nken/add-physics-interpolation-multimesh2d
Add MultiMesh physics interpolation for 2D transforms (MultiMeshInstance2D)
2025-10-03 12:01:07 -05:00
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews a430bf6e8b
Merge pull request #110768 from Ir1ana/fix/110710
Fix nested TileMapLayers highlight rendering in editor
2025-09-30 20:10:41 -05:00
Aaron Franke 9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Aaron Franke 754d49ac81
Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00
Thaddeus Crews a078895ad2
Merge pull request #109243 from precup/tile-map-optimizations
Avoid unnecessary updates in `TileMapLayer`
2025-09-25 12:13:57 -05:00
A Thousand Ships bd65cfa876
Revert "Replace many uses of `is_class` with `derives_from`."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Lukas Tenbrink 8ef4a43ada Replace many uses of `is_class` with `derives_from`. 2025-09-23 19:59:00 +02:00
t0mj3dus0r f5432271b9 use self_modulate instead of modulate for TileMapLayer highlight rendering 2025-09-23 15:10:53 +02:00
Thaddeus Crews a20ca7bbfe
Merge pull request #110459 from YeldhamDev/let_the_poor_ints_slide
Allow to use sliders for integers in `EditorSpinSlider`
2025-09-22 13:28:52 -05:00
Thaddeus Crews 035f5d3055
Merge pull request #110763 from Ivorforce/object-derives-from
Use `AncestralClass` to speed up `Object::cast_to` when possible.
2025-09-22 13:28:45 -05:00
Michael Alexsander f16ff829f0
Allow to use sliders for integers in `EditorSpinSlider` 2025-09-22 11:23:15 -03:00
Lukas Tenbrink 96619d46a1 Use `AncestralClass` to speed up Object::cast_to when possible. 2025-09-22 13:21:51 +02:00
kobewi 98a4b46b6a Add more PROPERTY_HINT_GROUP_ENABLE uses 2025-09-20 21:11:12 +02:00
Thaddeus Crews 149a4b4ca1
Merge pull request #107868 from lawnjelly/quick_ancestry4
Provide quick access to `Object` ancestry
2025-09-20 13:41:39 -05:00
Thaddeus Crews c227126764
Merge pull request #109820 from groud/fix_one_way_collision_tilemaplayer
Fix one-way-collision polygons being merged despite being on different Y-origins in TileMapLayer
2025-08-22 16:11:53 -05:00
Gilles Roudière e992c7d1fd Fixes one-way-collision polygons being merged despite being on different Y-origins in TileMapLayer 2025-08-22 21:34:04 +02:00
Thaddeus Crews 925fd8a9cc
Merge pull request #109736 from Rubonnek/tilecolfree
Free TileMapLayer debug quadrant meshes when clearing
2025-08-21 06:24:21 -05:00
Wilson E. Alvarez 261734adb6
Free TileMapLayer debug quadrant meshes when clearing 2025-08-18 10:10:14 -04:00
Mikael Hermansson 6c907c2d37 Fix `move_and_slide` forcing synchronization with physics thread
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com>
2025-08-14 18:58:36 +02:00
Mike Precup adfb0d8c1d Optimize TileMapLayer 2025-08-04 11:05:57 -07:00
nocommentsgood 65a2d733b7 Rename Camera2D set_position_smoothing_enabled parameter 2025-07-30 16:05:30 -05:00
Gilles Roudière 8637922926 Fix debug rendering in TileMapLayer 2025-07-25 11:17:03 +02:00
aaronp64 7f60546f05 Fix CPUParticles2D repeatedly scaling particles with 0 velocity and Align Y
CPUParticles2D with Align Y turned on would update particles' transforms based on the velocity when velocity was non-zero, but would not set the transform for zero velocity.  This left the transfrom value from the previous call, which may have already been scaled.  In this case, each call to _particles_process would apply the scale again, causing the particle to repeatedly grow (or shrink for scales < 1.0).

Updated the Align Y logic to always normalize the transform values before scale is applied.
2025-07-09 11:09:37 -04:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews 6340fa0813
Merge pull request #108207 from KoBeWi/spamygon2d
Fix error spam caused by `internal_vertex_count` property
2025-07-04 10:09:04 -05:00
Thaddeus Crews 6caf4c698f
Merge pull request #107915 from QbieShay/fix_emitting_reset
Fix particles resetting properties when emitting is toggled
2025-07-04 10:09:03 -05:00
kobewi 3eb85431f1 Fix error spam caused by internal_vertex_count property 2025-07-02 18:20:41 +02:00
kobewi 9a941441c4 Fix smoothed camera position with limits 2025-07-02 13:54:30 +02:00
Thaddeus Crews e750950dc6
Merge pull request #107568 from Rudolph-B/Issue-92708
Fix floating point precision errors when setting particle trail length
2025-07-01 17:57:58 -05:00
Thaddeus Crews db28859774
Merge pull request #107591 from timothyqiu/group-enable-default
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-24 18:34:28 -05:00
Qbieshay b93f6fa1ba Fix particles resetting properties when emitting is toggled 2025-06-24 12:16:42 +02:00
lawnjelly 583c72f999 `FTI` - Change `SceneTree` global setting to static
Also fixup FTI configuration warnings so that they only output when the project is using FTI.
2025-06-23 10:19:24 +01:00
lawnjelly 14a814586a Provide quick access to `Object` ancestry 2025-06-23 07:11:11 +01:00
Sch1nken a9ac00f8f7 Added multimesh physics interpolation for 2D transforms (MultiMeshInstance2D)
Replicated MultimeshInstance3D behaviour to MultiMeshInstance2D and added mesh_storage for 2D transform

Also call VisualInstance::_physics_interpolated_changed()

Use Node instead of VisualInstance. Addded comment

Fixed typo :)

Using CanvasItem instead of Node now. Made CanvasItem::_physics_interpolated_changed() protected
2025-06-18 16:04:51 +02:00
Haoyu Qiu a7ab249a2a Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default 2025-06-16 20:03:49 +08:00
Rémi Verschelde 31892b13b5
Merge pull request #107559 from groud/remove_get_used_cells_where_possible
Remove `get_used_cells` to avoid unecessary allocations in navigation baking
2025-06-16 01:52:54 +02:00
Rémi Verschelde c13218580f
Merge pull request #107528 from timothyqiu/direct-x
Don't put main properties of `AnimatedSprite2D` inside a group
2025-06-16 01:52:44 +02:00
Rudolph Bester 3c5d4a2410 Fix floating point precision errors when setting particle trail length 2025-06-15 20:38:50 +02:00
Gilles Roudière a39f6b1c64 Remove get_used_cells to avoid unecessary allocations in navigation baking 2025-06-15 13:42:39 +02:00
Haoyu Qiu 1d40df286b Don't put main properties of AnimatedSprite2D inside a group 2025-06-14 19:20:58 +08:00
smix8 4476fc7099 Only repath a NavigationAgent with a target position
Only repaths a NavigationAgent with a target position.
2025-06-14 01:26:36 +02:00
smix8 cbd446ac29 Add navigation path query parameter limits
Adds navigation path query parameter limits.
2025-06-13 14:42:26 +02:00
Rémi Verschelde f485f6c1c2
Merge pull request #107360 from KoBeWi/spamilion
Fix Sprite2D error spam in exported project
2025-06-13 01:30:51 +02:00
kobewi efbc5aabe1 Allow overriding 2D editor cursor 2025-06-12 14:00:19 +02:00
kobewi 2bb3217819 Add a dedicated editor for Camera2D limits 2025-06-12 13:49:59 +02:00
LuoZhihao 8ba4656ea3 Compile out editor-only logic within `validate_property` in games 2025-06-12 12:54:19 +08:00