PDN: Fix Loft claimChildren to only grab sketches
This commit is contained in:
@@ -64,7 +64,7 @@ std::vector<App::DocumentObject*> ViewProviderLoft::claimChildren(void)const
|
||||
temp.push_back(sketch);
|
||||
|
||||
for(App::DocumentObject* obj : pcLoft->Sections.getValues()) {
|
||||
if (obj != NULL)
|
||||
if (obj != NULL && obj->isDerivedFrom(Part::Part2DObject::getClassTypeId()))
|
||||
temp.push_back(obj);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user