virtualx-engine/scene
PouleyKetchoupp a994bb4ad3
Fix collision shape update when changing shape properties
This change does two things:

1. Properly update the internal shape data using _update_in_shape_owner
when updating a shape (in 2D it was resetting one way collision)

2. Avoid unnecessary updates when calling set_shape with the same shape,
which happens each time a shape property is modified
(e.g shape.extents.x = ...)

Fixes #45090

(cherry picked from commit 4b43cd17c5)
2021-01-13 16:54:22 +01:00
..
2d Fix collision shape update when changing shape properties 2021-01-13 16:54:22 +01:00
3d Fix collision shape update when changing shape properties 2021-01-13 16:54:22 +01:00
animation Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
debugger Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gui Fix errors when removing non Control node from TabContainer 2021-01-13 16:17:10 +01:00
main Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resources Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_scene_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00