summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-09-10 19:19:59 +0200
committerGitHub <noreply@github.com>2020-09-10 19:19:59 +0200
commit0819657c3ba9de3328a18b52de1cf3c0b13f2d13 (patch)
tree48e0e3a91defb995549dad6977c4baaf91e3cdf9 /editor
parent43930aaa28c1e7c0e89af78d4a075a215d545ca6 (diff)
parenta706c22db7a00e28bdcaef57ae973728bdcc2a86 (diff)
Merge pull request #41954 from Calinou/raycast-rename-cast-to
Rename RayCast's `cast_to` property to `target_position`
Diffstat (limited to 'editor')
-rw-r--r--editor/node_3d_editor_gizmos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/node_3d_editor_gizmos.cpp b/editor/node_3d_editor_gizmos.cpp
index 2ddcf3d877..6e5fb6389d 100644
--- a/editor/node_3d_editor_gizmos.cpp
+++ b/editor/node_3d_editor_gizmos.cpp
@@ -1912,7 +1912,7 @@ void RayCast3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) {
Vector<Vector3> lines;
lines.push_back(Vector3());
- lines.push_back(raycast->get_cast_to());
+ lines.push_back(raycast->get_target_position());
const Ref<StandardMaterial3D> material =
get_material(raycast->is_enabled() ? "shape_material" : "shape_material_disabled", p_gizmo);