App: Create PropertyMaterialList with a single material element

This commit is contained in:
wmayer
2024-04-25 17:04:36 +02:00
parent 53020def86
commit e85954e8a3

View File

@@ -2632,7 +2632,10 @@ TYPESYSTEM_SOURCE(App::PropertyMaterialList, App::PropertyLists)
//**************************************************************************
// Construction/Destruction
PropertyMaterialList::PropertyMaterialList() = default;
PropertyMaterialList::PropertyMaterialList()
{
setSizeOne();
}
PropertyMaterialList::~PropertyMaterialList() = default;