Rémi Verschelde
ab08876e5c
Merge pull request #89566 from AThousandShips/range_val_fix
...
Fix some invalid `int` property ranges
2024-11-29 22:45:35 +01:00
Rémi Verschelde
56a7dba10b
Merge pull request #99799 from akien-mga/fix-typos
...
Fix various typos and code style issues
2024-11-29 22:02:53 +01:00
Rémi Verschelde
c1fb342287
Merge pull request #99664 from arkology/camera2d_double_is_editor_hint_check
...
Remove double `is_editor_hint()` check inside `NOTIFICATION_READY` for `Camera2D` node
2024-11-29 22:02:22 +01:00
Rémi Verschelde
88e81ee730
Fix various typos and code style issues
2024-11-28 17:40:42 +01:00
Trevor Davenport
70a55540b7
Ensure primitive meshes are created before connected to changed signal.
...
Primitive meshes are special in that they aren't created until calling
one of their methods which cause it to actually create the mesh
resources. If this is not done early enough, a changed signal can be
triggered from an unexpected thread resulting in a threading warning.
This follows the pattern of mesh_instance_3d which also does this before
connecting to the change signal. Future cleanup could provide a better
means to populate the meshes.
2024-11-26 20:51:08 -07:00
arkology
99886f3204
Remove double is_editor_hint()
check inside NOTIFICATION_READY
for Camera2D
node
...
`Engine::get_singleton()->is_editor_hint()` is already a part of `is_part_of_edited_scene()` function.
2024-11-25 09:28:16 +03:00
A Thousand Ships
f6ea6cdb67
Fix some invalid int
property ranges
...
* `HeightMapShape3D` had ranges configured for `float` instead of `int`
* Particles had `amount` that used `exp` which is not supported, added
note
2024-11-23 19:17:29 +01:00
Thaddeus Crews
37305e40bc
Merge pull request #95711 from TokageItLab/warn-oneshot-prop
...
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
Rie
31a3b418f7
Fix obstacle avoidance and 3D editor ignoring transform
2024-11-16 11:30:48 +01:00
Mack
282425eefb
Fix setting TileMap data compatibility format broken by #98898 .
2024-11-15 01:20:30 +00:00
Thaddeus Crews
e960aa319f
Merge pull request #99030 from tracefree/obstacle_2d_transform
...
Make use of NavigationObstacle2D's transform
2024-11-12 09:28:03 -06:00
Thaddeus Crews
0ad3181d14
Merge pull request #98951 from AThousandShips/fix_more_super_call
...
Fix a few more super calls in `get_configuration_warnings` methods
2024-11-12 09:27:33 -06:00
Rie
e39fc3e8c2
Make use of NavigationObstacle2D's transform
2024-11-11 23:34:47 +01:00
Thaddeus Crews
80345758ff
Merge pull request #96188 from Khusheete/tilemaplayer-cell-update
...
Add a way to know when a TileMapLayer's cell is modified
2024-11-11 14:18:17 -06:00
Thaddeus Crews
9be806aef1
Merge pull request #92986 from Repiteo/core/ref-instantiate-integration
...
Core: Integrate Ref `instantiate` where possible
2024-11-11 14:18:15 -06:00
Souchet Ferdinand
d92f5e5799
Add TileMapLayer._update_cells
virtual callback called when the TileMapLayer's cells are updated
...
Made `_update_cells` a hook into the `TileMapLayer`'s internal update
2024-11-11 13:29:38 +01:00
Thaddeus Crews
8d1462c748
CI: Update Linux runners to Ubuntu 24.04
2024-11-10 14:05:27 -06:00
Thaddeus Crews
925b690c98
Core: Integrate Ref::instantiate
where possible
2024-11-10 12:41:26 -06:00
Thaddeus Crews
4f416378a5
Merge pull request #98773 from KeyboardDanni/tileset_collision_priority
...
Add collision priority property to TileSet physics layers
2024-11-10 12:12:49 -06:00
Silc Lizard (Tokage) Renew
761a20f7a7
Add hint for oneshot & warning when it will be updated continuously
2024-11-11 01:12:45 +09:00
A Thousand Ships
26938086eb
Fix a few more super calls in get_configuration_warnings
methods
...
A few missed last pass and one incorrect from that pass
2024-11-08 14:58:37 +01:00
Danni
3d132076b2
Add collision priority property to TileSet physics layers
2024-11-02 15:37:49 -04:00
Michael Alexsander
58e79bfa9a
Compile certain CanvasItem._edit_*()
functions with DEBUG_ENABLED
2024-11-02 15:43:18 -03:00
Thaddeus Crews
49c22e06d0
Merge pull request #98637 from SubmergedTree/creating-light-occluder-2d-polygon-makes-warning-exclamation-mark-disappear
...
Clear warning in the scene tree by creating an LightOccluder2D polygon
2024-10-31 20:14:40 -05:00
Michael Alexsander
16524a8a01
Add "Game" editor for better runtime debugging
2024-10-30 11:42:17 -03:00
Jannik Seemann
a12cdc202d
creating LightOccluder2D polygon makes exclamation mark in scene tree disappear
...
fixes #21225
This commit fixes an UI bug which leads to a persistent warning in scene tree. Before
this fix the only way to get rid of the warning was to reload the complete scene.
The inspector issue mentioned in #21225 that polygon updates aren't reflected seems to be
fixed in v4.3 and therefore not part of this commit.
2024-10-29 15:01:29 +01:00
Adam Scott
0d350e7108
Set clang-format RemoveSemicolon
rule to true
...
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Thaddeus Crews
66d19abdfa
Merge pull request #96629 from ditiem-games/path2d
...
Fix Animated Path2D doesn't update PathFollow2D progress when scene is running.
2024-10-21 16:39:28 -05:00
Thaddeus Crews
3fcbb1d436
Merge pull request #97770 from tdaven/fix-94151
...
Fix immediate mesh modifications that don't call set_mesh
2024-10-14 14:09:56 -05:00
Trevor Davenport
47f75547ce
Fix immediate mesh modifications that don't call set_mesh
...
Mesh_instance_2d has no way to know when the mesh had been modified
unless you called set_mesh. This meant that you could modify the
underlying mesh without it knowing which could result in incorrect
result.
Modified mesh_instance_2d to be more similar to mesh_instance_3d which
connects to the changed signal of the mesh and reacts occordingly.
2024-10-03 18:08:49 -06:00
Nazarii
1ba168fcbc
Use local vector for skeleton
2024-10-02 20:38:40 +03:00
Rémi Verschelde
53f30bfb7e
Merge pull request #95132 from LeonStansfield/gpu_particles_ui_consistency
...
GPU/CPU particle parameter list consistency changes
2024-10-01 17:30:29 +02:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Rémi Verschelde
73bf121ceb
Merge pull request #93786 from alvinhochun/viewport-pixel-snap-fix
...
Apply "snap 2D transforms to pixel" to viewport
2024-09-25 12:39:10 +02:00
Ricardo Buring
7c4c4b9987
Move Godot Physics 2D into a module; add dummy 2D physics server
...
If the module is enabled (default), 2D physics works as it did before.
If the module is disabled and no other 2D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 2D physics functionality (and
a warning is printed).
The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
Mark DiBarry
3f9bb59606
Prevent jitter in Parallax2D
2024-09-23 20:36:38 +08:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format
changes
2024-09-20 08:09:48 -05:00
Rémi Verschelde
49b725ddcc
Merge pull request #93353 from AThousandShips/config_warning_fix
...
Fix super call in various `get_configuration_warnings` methods
2024-09-08 23:21:09 +02:00
David Trallero
1b376b32cd
Update FollowPath2D children of Path2D when a curve_changed event occurs
2024-09-06 07:54:22 +08:00
A Thousand Ships
9dc231366d
Fix super call in various get_configuration_warnings
methods
2024-09-05 16:08:35 +02:00
smix8
5bedaf77f7
Fix 2D debug navigation flickering with tile maps
...
Both the tile map layers and the debug navigation canvas items did fight for the same z order causing a lot of flickering in certain situations.
2024-09-05 15:11:29 +02:00
Guillaume Turri
ea9dff87ae
Add error checks for bad configuration in PathFollow2D/3D
set_progress_ratio
...
When a PathFollow is badly configured it's possible to have code that
call get_progress_ratio just after set_progress_ratio does not return
the value just set, which may be confusing for developer (ie that
myPathFollow2D.set_progress_ratio(0.5)
myPathFollow2D.get_progress_ratio()
does not return 0.5)
This commit makes ensures the developer has useful error messages in
such case, to make it easier to troubleshot it.
2024-09-04 18:07:49 +02:00
Rémi Verschelde
d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
...
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Gilles Roudière
d75c5ec7ba
Implement multiple occlusion polygons within each TileSet occlusion layer
2024-09-03 15:38:51 +02:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr
checks with Ref
...
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Raul Santos
7fd261c8c1
Expose AudioStreamPlayer{2D,3D}::set_playing
and remove AudioStreamPlayer::{2D,3D}::_is_active
...
- The `_is_active` method seems to be unused, so it was removed.
- The `_set_playing` method is now exposed, as the setter of the `playing` property.
- The `play` method can't be used as a setter because it takes a `float` parameter instead of a `bool` parameter.
2024-08-30 17:16:46 +02:00
Rémi Verschelde
ba0b93cf64
Merge pull request #96245 from markdibarry/prevent-autoscroll-reset
...
Prevent Parallax2D autoscroll reset
2024-08-29 10:36:42 +02:00
Rémi Verschelde
96cbcc30e2
Merge pull request #90945 from Scony/extract-navigation-defaults
...
Extract navigation-related defaults to separate header
2024-08-29 10:36:14 +02:00
Mark DiBarry
1eda1cf5d7
Prevent Parallax2D autoscroll reset
2024-08-28 16:38:27 -04:00
Rémi Verschelde
6cb21a56fd
Merge pull request #93970 from MarblesFr/feature/collision-occlusion-options-layer-map
...
Add occlusion enabled option to TileMapLayer
2024-08-28 00:11:40 +02:00