Update the rest of the UI on property changes and update properties on node transform

This commit is contained in:
parax0
2016-01-30 18:54:00 -07:00
parent 2e6024b413
commit c7d448225c
29 changed files with 270 additions and 90 deletions

View File

@@ -26,7 +26,7 @@ CTranslateNodeCommand::CTranslateNodeCommand(INodeEditor *pEditor, const QList<C
mNodeList.push_back(translate);
}
mpEditor->SelectionTransformed();
mpEditor->NotifySelectionTransformed();
}
CTranslateNodeCommand::~CTranslateNodeCommand()
@@ -72,7 +72,7 @@ void CTranslateNodeCommand::undo()
translate.pNode->SetPosition(translate.initialPos);
mpEditor->RecalculateSelectionBounds();
mpEditor->SelectionTransformed();
mpEditor->NotifySelectionTransformed();
mpEditor->UpdateGizmoUI();
}
@@ -84,7 +84,7 @@ void CTranslateNodeCommand::redo()
translate.pNode->SetPosition(translate.newPos);
mpEditor->RecalculateSelectionBounds();
mpEditor->SelectionTransformed();
mpEditor->NotifySelectionTransformed();
mpEditor->UpdateGizmoUI();
}