WIP string editor UI

This commit is contained in:
Aruki
2018-12-26 23:59:59 -07:00
parent 0ae7b8686e
commit 76bc2b50f8
24 changed files with 853 additions and 209 deletions

View File

@@ -49,7 +49,7 @@ bool WCreateTab::eventFilter(QObject *pObj, QEvent *pEvent)
{
CVector3f SpawnPoint = mpEditor->Viewport()->HoverPoint();
CCreateInstanceCommand *pCmd = new CCreateInstanceCommand(mpEditor, pMimeData->Template(), mpSpawnLayer, SpawnPoint);
mpEditor->UndoStack()->push(pCmd);
mpEditor->UndoStack().push(pCmd);
return true;
}
}