summaryrefslogtreecommitdiff
path: root/scene/3d/collision_object_3d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-09 19:34:56 +0200
committerGitHub <noreply@github.com>2021-05-09 19:34:56 +0200
commit87f8feb3e5656a2c244bdb63c876c85fc92f46a1 (patch)
tree98228a352f2f3bf450a4bcad9f56b257722642de /scene/3d/collision_object_3d.h
parentaac01456d16b2eb4171c8bee2e3cf5fb5d31a9ca (diff)
parenta24c46e7a09616668a303f1e8fcc4a5d62268e9c (diff)
Merge pull request #48591 from trollodel/collisionobject3d-fix-disconnect
Use the correct method in shape_owner_remove_shape
Diffstat (limited to 'scene/3d/collision_object_3d.h')
-rw-r--r--scene/3d/collision_object_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/collision_object_3d.h b/scene/3d/collision_object_3d.h
index 80bfcbcf05..7ff3c5efde 100644
--- a/scene/3d/collision_object_3d.h
+++ b/scene/3d/collision_object_3d.h
@@ -72,7 +72,7 @@ class CollisionObject3D : public Node3D {
bool _are_collision_shapes_visible();
void _update_shape_data(uint32_t p_owner);
- void _shape_changed(Ref<Shape3D> p_shape);
+ void _shape_changed(const Ref<Shape3D> &p_shape);
void _update_debug_shapes();
void _clear_debug_shapes();