mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-23 15:03:47 +00:00
CResizeScriptArrayCommand: Make use of in-class initializers
This commit is contained in:
parent
978627d14e
commit
46e0b40908
@ -6,8 +6,8 @@
|
||||
class CResizeScriptArrayCommand : public CEditScriptPropertyCommand
|
||||
{
|
||||
/** Old/new model row counts; we store this here to support editing arrays on multiple instances at once */
|
||||
int mOldRowCount;
|
||||
int mNewRowCount;
|
||||
int mOldRowCount = -1;
|
||||
int mNewRowCount = -1;
|
||||
|
||||
public:
|
||||
CResizeScriptArrayCommand(IProperty* pProperty,
|
||||
@ -17,8 +17,6 @@ public:
|
||||
const QString& rkCommandName = "Resize Array"
|
||||
)
|
||||
: CEditScriptPropertyCommand(pProperty, rkInstances, pModel, Index, rkCommandName)
|
||||
, mOldRowCount(-1)
|
||||
, mNewRowCount(-1)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user