summaryrefslogtreecommitdiff
path: root/scene/resources/ray_shape.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-21 20:34:34 +0200
committerGitHub <noreply@github.com>2019-04-21 20:34:34 +0200
commit33b69340ad262c4628da58edd61a3211497be911 (patch)
tree665d8796b04338b318fab6473149ac7160a15e89 /scene/resources/ray_shape.cpp
parentc66ed35004a264b507d2fc85d2a7f2a15344f421 (diff)
parente5f531620e69ef682353e4d93c8ddd6cb43921ba (diff)
Merge pull request #27219 from raphael10241024/debug_fix
Fix collider debug shape didn't changes with collider size changes
Diffstat (limited to 'scene/resources/ray_shape.cpp')
-rw-r--r--scene/resources/ray_shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/ray_shape.cpp b/scene/resources/ray_shape.cpp
index b7925d8a58..0acfffdc06 100644
--- a/scene/resources/ray_shape.cpp
+++ b/scene/resources/ray_shape.cpp
@@ -47,7 +47,7 @@ void RayShape::_update_shape() {
d["length"] = length;
d["slips_on_slope"] = slips_on_slope;
PhysicsServer::get_singleton()->shape_set_data(get_shape(), d);
- emit_changed();
+ Shape::_update_shape();
}
void RayShape::set_length(float p_length) {