From 44ecfb028d21975944b47b6496712a29f17f3848 Mon Sep 17 00:00:00 2001 From: TwistedTwigleg Date: Fri, 30 Jun 2017 14:47:17 -0400 Subject: Fixed syntax inconsistency in Vector3.snap and Vector3.snapped --- editor/plugins/path_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins/path_editor_plugin.cpp') diff --git a/editor/plugins/path_editor_plugin.cpp b/editor/plugins/path_editor_plugin.cpp index 877707d77..3524c34d6 100644 --- a/editor/plugins/path_editor_plugin.cpp +++ b/editor/plugins/path_editor_plugin.cpp @@ -104,7 +104,7 @@ void PathSpatialGizmo::set_handle(int p_idx, Camera *p_camera, const Point2 &p_p if (SpatialEditor::get_singleton()->is_snap_enabled()) { float snap = SpatialEditor::get_singleton()->get_translate_snap(); - inters.snap(snap); + inters.snap(Vector3(snap, snap, snap)); } Vector3 local = gi.xform(inters); -- cgit v1.2.3-70-g09d2