You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
This commit is contained in:
@@ -1180,7 +1180,7 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
||||
if (_edit.snap || spatial_editor->is_snap_enabled()) {
|
||||
|
||||
snap = spatial_editor->get_translate_snap();
|
||||
motion.snap(snap);
|
||||
motion.snap(Vector3(snap, snap, snap));
|
||||
}
|
||||
|
||||
//set_message("Translating: "+motion);
|
||||
|
||||
Reference in New Issue
Block a user