mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 05:27:41 +00:00
Added TPropCast property casting function, added support for clean/dirty state in the world editor + check for unsaved changes when the window is closed
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
#include "Editor/INodeEditor.h"
|
||||
|
||||
CTranslateNodeCommand::CTranslateNodeCommand()
|
||||
: QUndoCommand("Translate"),
|
||||
: IUndoCommand("Translate"),
|
||||
mpEditor(nullptr),
|
||||
mCommandEnded(false)
|
||||
{
|
||||
}
|
||||
|
||||
CTranslateNodeCommand::CTranslateNodeCommand(INodeEditor *pEditor, const QList<CSceneNode*>& nodes, const CVector3f& delta, ETransformSpace transformSpace)
|
||||
: QUndoCommand("Translate"),
|
||||
: IUndoCommand("Translate"),
|
||||
mpEditor(pEditor),
|
||||
mCommandEnded(false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user