cleanup
This commit is contained in:
+1
-2
@@ -110,11 +110,10 @@ namespace {
|
||||
return std::make_unique<Slab>(elementData, tableID);
|
||||
case API_WallID:
|
||||
return std::make_unique<Wall>(elementData, tableID);
|
||||
case API_ObjectID: {
|
||||
case API_ObjectID:
|
||||
// POC: change this case once we are ready to convert Grid Elements
|
||||
if (elementData.header.type.variationID == APIVarId_GridElement)
|
||||
return nullptr;
|
||||
}
|
||||
default:
|
||||
return std::make_unique<GenericModelElement>(elementData, tableID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user