mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-11 22:44:19 +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"
|
||||
|
||||
CScaleNodeCommand::CScaleNodeCommand()
|
||||
: QUndoCommand("Scale"),
|
||||
: IUndoCommand("Scale"),
|
||||
mpEditor(nullptr),
|
||||
mCommandEnded(false)
|
||||
{
|
||||
}
|
||||
|
||||
CScaleNodeCommand::CScaleNodeCommand(INodeEditor *pEditor, const QList<CSceneNode*>& nodes, const CVector3f& /*pivot*/, const CVector3f& delta)
|
||||
: QUndoCommand("Scale"),
|
||||
: IUndoCommand("Scale"),
|
||||
mpEditor(pEditor),
|
||||
mCommandEnded(false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user