mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-17 00:47:05 +00:00
Fully implemented delete, added an easy-to-use ID lookup system for undo commands, fixed a bunch of crashes when undoing/redoing after creating/deleting an object
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define CADDLINKCOMMAND_H
|
||||
|
||||
#include "IUndoCommand.h"
|
||||
#include "ObjReferences.h"
|
||||
#include "Editor/WorldEditor/CWorldEditor.h"
|
||||
#include <Core/Resource/Script/CLink.h>
|
||||
|
||||
@@ -9,7 +10,7 @@ class CAddLinkCommand : public IUndoCommand
|
||||
{
|
||||
CWorldEditor *mpEditor;
|
||||
CLink mLink;
|
||||
QList<CScriptObject*> mAffectedInstances;
|
||||
CInstancePtrList mAffectedInstances;
|
||||
|
||||
public:
|
||||
CAddLinkCommand(CWorldEditor *pEditor, CLink Link);
|
||||
|
||||
Reference in New Issue
Block a user