mirror of
https://github.com/godotengine/godot.git
synced 2025-02-17 22:43:01 +08:00
Hide axis gizmo after translating 3D nodes
This commit is contained in:
parent
11e1bac768
commit
03bbacfdca
@ -1650,12 +1650,12 @@ void Node3DEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
se->gizmo->commit_subgizmos(ids, restore, false);
|
se->gizmo->commit_subgizmos(ids, restore, false);
|
||||||
spatial_editor->update_transform_gizmo();
|
|
||||||
} else {
|
} else {
|
||||||
commit_transform();
|
commit_transform();
|
||||||
}
|
}
|
||||||
_edit.mode = TRANSFORM_NONE;
|
_edit.mode = TRANSFORM_NONE;
|
||||||
set_message("");
|
set_message("");
|
||||||
|
spatial_editor->update_transform_gizmo();
|
||||||
}
|
}
|
||||||
surface->queue_redraw();
|
surface->queue_redraw();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user