summaryrefslogtreecommitdiffstats
path: root/scene/resources/capsule_shape_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/capsule_shape_3d.cpp')
-rw-r--r--scene/resources/capsule_shape_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/capsule_shape_3d.cpp b/scene/resources/capsule_shape_3d.cpp
index 3edff0cc68..9e16801060 100644
--- a/scene/resources/capsule_shape_3d.cpp
+++ b/scene/resources/capsule_shape_3d.cpp
@@ -86,7 +86,7 @@ void CapsuleShape3D::set_radius(float p_radius) {
height = radius * 2.0;
}
_update_shape();
- notify_change_to_owners();
+ emit_changed();
}
float CapsuleShape3D::get_radius() const {
@@ -100,7 +100,7 @@ void CapsuleShape3D::set_height(float p_height) {
radius = height * 0.5;
}
_update_shape();
- notify_change_to_owners();
+ emit_changed();
}
float CapsuleShape3D::get_height() const {