mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-17 08:57:09 +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"
|
||||
|
||||
CRotateNodeCommand::CRotateNodeCommand()
|
||||
: QUndoCommand("Rotate"),
|
||||
: IUndoCommand("Rotate"),
|
||||
mpEditor(nullptr),
|
||||
mCommandEnded(false)
|
||||
{
|
||||
}
|
||||
|
||||
CRotateNodeCommand::CRotateNodeCommand(INodeEditor *pEditor, const QList<CSceneNode*>& nodes, const CVector3f& /*pivot*/, const CQuaternion& delta, ETransformSpace transformSpace)
|
||||
: QUndoCommand("Rotate"),
|
||||
: IUndoCommand("Rotate"),
|
||||
mpEditor(pEditor),
|
||||
mCommandEnded(false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user