We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 884c34a commit 38ca41bCopy full SHA for 38ca41b
FEMLib/FSModel.cpp
@@ -2724,7 +2724,7 @@ int FSModel::RemoveMeshDataGenerator(FSMeshDataGenerator* pmd)
2724
2725
void GetAllocatorIDsRecursive(FSCoreBase* obj, std::unordered_set<int>& allocatorIDs)
2726
{
2727
- if (obj == nullptr) return;
+ if ((obj == nullptr) || (obj->GetClassID() == -1)) return;
2728
2729
FEBio::FEBioClassInfo ci = FEBio::GetClassInfo(obj->GetClassID());
2730
allocatorIDs.insert(ci.allocId);
0 commit comments