refactor node gizmo release
This commit is contained in:
@@ -271,7 +271,9 @@ void ViewerDisplayWidget::mouseReleaseEvent(QMouseEvent *event)
|
||||
} else if (gizmo_click_) {
|
||||
|
||||
// Handle gizmo
|
||||
gizmos_->GizmoRelease();
|
||||
MultiUndoCommand *command = new MultiUndoCommand();
|
||||
gizmos_->GizmoRelease(command);
|
||||
undo_stack()->pushIfHasChildren(command);
|
||||
gizmo_click_ = false;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user