Merge pull request #68008 from timothyqiu/hide-axis

Hide axis gizmo after translating 3D nodes
This commit is contained in:
Rémi Verschelde 2022-10-31 14:19:11 +01:00
commit e47aa546cd
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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();
}