mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-14 15:46:17 +00:00
Added Editor Properties widget at the top of every World Editor tab, made tons of backend changes to get it to work properly
This commit is contained in:
@@ -9,13 +9,14 @@ class CResizeScriptArrayCommand : public CBasicPropertyCommand
|
||||
{
|
||||
CArrayProperty *mpArray;
|
||||
QVector<IProperty*> mDeletedProperties;
|
||||
CPropertyModel *mpModel;
|
||||
|
||||
u32 mOldSize;
|
||||
u32 mNewSize;
|
||||
int mOldSize;
|
||||
int mNewSize;
|
||||
bool mNewSizeLarger;
|
||||
|
||||
public:
|
||||
CResizeScriptArrayCommand(CPropertyModel *pModel, const QModelIndex& rkIndex, u32 NewSize);
|
||||
CResizeScriptArrayCommand(IProperty *pProp, CWorldEditor *pEditor, CPropertyModel *pModel, int NewSize);
|
||||
~CResizeScriptArrayCommand();
|
||||
void undo();
|
||||
void redo();
|
||||
|
||||
Reference in New Issue
Block a user