diff options
| author | Ignacio Etcheverry | 2016-04-07 13:30:40 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2016-04-07 13:30:40 +0200 |
| commit | 6cf3bdcf7662218f8f02feb91fa85efedbc1b7b3 (patch) | |
| tree | c87dfd61de9f8152ae21b05a0ba33ab44ed36381 /scene/3d/ray_cast.cpp | |
| parent | 50aa78210c0e31ea8a348bdd8a2432159dc61879 (diff) | |
| download | godot-6cf3bdcf7662218f8f02feb91fa85efedbc1b7b3.tar.gz godot-6cf3bdcf7662218f8f02feb91fa85efedbc1b7b3.tar.zst godot-6cf3bdcf7662218f8f02feb91fa85efedbc1b7b3.zip | |
Diffstat (limited to 'scene/3d/ray_cast.cpp')
| -rw-r--r-- | scene/3d/ray_cast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/ray_cast.cpp b/scene/3d/ray_cast.cpp index ab2c4fc8d..29813597f 100644 --- a/scene/3d/ray_cast.cpp +++ b/scene/3d/ray_cast.cpp @@ -33,7 +33,7 @@ void RayCast::set_cast_to(const Vector3& p_point) { cast_to=p_point; - if (is_inside_tree() && get_tree()->is_editor_hint()) + if (is_inside_tree() && (get_tree()->is_editor_hint() || get_tree()->is_debugging_collisions_hint())) update_gizmo(); } |
