PR: bug on CreateHoleSkin with groups

This commit is contained in:
prascle 2012-10-12 10:59:49 +00:00
parent e88340470b
commit f3d031f77d

View File

@ -11779,8 +11779,11 @@ void SMESH_MeshEditor::CreateHoleSkin(double radius,
groupDS = group->GetGroupDS(); groupDS = group->GetGroupDS();
if ( !groupDS || groupDS->IsEmpty() ) continue; if ( !groupDS || groupDS->IsEmpty() ) continue;
std::string grpName = group->GetName(); std::string grpName = group->GetName();
//MESSAGE("grpName=" << grpName);
if (grpName == groupName) if (grpName == groupName)
break; break;
else
groupDS = 0;
} }
bool isNodeGroup = false; bool isNodeGroup = false;
@ -11794,6 +11797,7 @@ void SMESH_MeshEditor::CreateHoleSkin(double radius,
if (nodesCoords.size() > 0) if (nodesCoords.size() > 0)
isNodeCoords = true; // a list o nodes given by their coordinates isNodeCoords = true; // a list o nodes given by their coordinates
//MESSAGE("---" << isNodeGroup << " " << isNodeCoords);
// --- define groups to build // --- define groups to build