diff options
author | yakun.zhang <Raphael10241024@gmail.com> | 2019-03-19 11:53:37 +0800 |
---|---|---|
committer | RaphaelHunter <raphael10241024@gmail.com> | 2019-04-11 23:31:55 +0800 |
commit | e5f531620e69ef682353e4d93c8ddd6cb43921ba (patch) | |
tree | 79a5aaafa7aff111ae3db1206e8d37a5912e278d /scene/resources/ray_shape.cpp | |
parent | 5772f60f960ee8c396574f0c6f94def18bb210c7 (diff) | |
download | redot-engine-e5f531620e69ef682353e4d93c8ddd6cb43921ba.tar.gz |
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.cpp | 2 |
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) { |