App: Add PropertyMaterialList::resizeByOneIfNeeded to avoid code duplication
This commit is contained in:
@@ -1188,11 +1188,14 @@ public:
|
||||
|
||||
protected:
|
||||
Material getPyValue(PyObject* py) const override;
|
||||
void verifyIndex(int index) const;
|
||||
void setSizeOne();
|
||||
|
||||
void RestoreDocFileV0(uint32_t count, Base::Reader& reader);
|
||||
void RestoreDocFileV1(Base::Reader& reader);
|
||||
|
||||
private:
|
||||
void verifyIndex(int index) const;
|
||||
void setSizeOne();
|
||||
int resizeByOneIfNeeded(int index);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user