Hide axis gizmo after translating 3D nodes

This commit is contained in:
Haoyu Qiu 2022-10-29 16:17:28 +08:00
parent 11e1bac768
commit 03bbacfdca

View File

@ -1650,12 +1650,12 @@ void Node3DEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
}
se->gizmo->commit_subgizmos(ids, restore, false);
spatial_editor->update_transform_gizmo();
} else {
commit_transform();
}
_edit.mode = TRANSFORM_NONE;
set_message("");
spatial_editor->update_transform_gizmo();
}
surface->queue_redraw();
}