diff options
| author | TwistedTwigleg | 2017-06-30 14:47:17 -0400 |
|---|---|---|
| committer | TwistedTwigleg | 2017-07-03 16:29:03 -0400 |
| commit | 44ecfb028d21975944b47b6496712a29f17f3848 (patch) | |
| tree | 5d9e8259992ef8ef1690235c540a306e073a36f4 /editor/plugins/path_editor_plugin.cpp | |
| parent | cb59236ce938fdf3ffe20b1f77c4f7058ddaadf1 (diff) | |
| download | godot-44ecfb028d21975944b47b6496712a29f17f3848.tar.gz godot-44ecfb028d21975944b47b6496712a29f17f3848.tar.zst godot-44ecfb028d21975944b47b6496712a29f17f3848.zip | |
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
Diffstat (limited to 'editor/plugins/path_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/path_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
