mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 20:51:14 +00:00
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
This commit is contained in:
parent
cb59236ce9
commit
44ecfb028d
13 changed files with 26 additions and 25 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue