Moved selection handling code to CNodeSelection, implemented instance spawning, half-implemented instance deleting (this build is buggy/crash prone)

This commit is contained in:
parax0
2016-03-13 22:30:04 -06:00
parent b2699eb96f
commit f02f7ada0f
64 changed files with 1259 additions and 754 deletions

View File

@@ -71,7 +71,6 @@ void CTranslateNodeCommand::undo()
foreach (SNodeTranslate translate, mNodeList)
translate.pNode->SetPosition(translate.initialPos);
mpEditor->RecalculateSelectionBounds();
mpEditor->NotifySelectionTransformed();
mpEditor->UpdateGizmoUI();
}
@@ -83,7 +82,6 @@ void CTranslateNodeCommand::redo()
foreach (SNodeTranslate translate, mNodeList)
translate.pNode->SetPosition(translate.newPos);
mpEditor->RecalculateSelectionBounds();
mpEditor->NotifySelectionTransformed();
mpEditor->UpdateGizmoUI();
}