App: Create PropertyMaterialList with a single material element
This commit is contained in:
@@ -2632,7 +2632,10 @@ TYPESYSTEM_SOURCE(App::PropertyMaterialList, App::PropertyLists)
|
||||
//**************************************************************************
|
||||
// Construction/Destruction
|
||||
|
||||
PropertyMaterialList::PropertyMaterialList() = default;
|
||||
PropertyMaterialList::PropertyMaterialList()
|
||||
{
|
||||
setSizeOne();
|
||||
}
|
||||
|
||||
PropertyMaterialList::~PropertyMaterialList() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user