cosmetic changes
This commit is contained in:
parent
007252325c
commit
446f06b504
@ -614,7 +614,6 @@ bool NETGENPlugin_Mesher::fillNgMesh(const netgen::OCCGeometry& occgeom,
|
|||||||
const list< SMESH_subMesh* > & meshedSM)
|
const list< SMESH_subMesh* > & meshedSM)
|
||||||
{
|
{
|
||||||
TNode2IdMap nodeNgIdMap;
|
TNode2IdMap nodeNgIdMap;
|
||||||
if ( !nodeVec.empty() )
|
|
||||||
for ( int i = 1; i < nodeVec.size(); ++i )
|
for ( int i = 1; i < nodeVec.size(); ++i )
|
||||||
nodeNgIdMap.insert( make_pair( nodeVec[i], i ));
|
nodeNgIdMap.insert( make_pair( nodeVec[i], i ));
|
||||||
|
|
||||||
@ -882,7 +881,7 @@ bool NETGENPlugin_Mesher::fillNgMesh(const netgen::OCCGeometry& occgeom,
|
|||||||
|
|
||||||
case TopAbs_VERTEX: { // VERTEX
|
case TopAbs_VERTEX: { // VERTEX
|
||||||
// --------------------------
|
// --------------------------
|
||||||
// issue 21405. Add node only if a VERTEX is shared by a not meshed EDGE,
|
// issue 0021405. Add node only if a VERTEX is shared by a not meshed EDGE,
|
||||||
// else netgen removes a free node and nodeVector becomes invalid
|
// else netgen removes a free node and nodeVector becomes invalid
|
||||||
PShapeIteratorPtr ansIt = helper.GetAncestors( sm->GetSubShape(),
|
PShapeIteratorPtr ansIt = helper.GetAncestors( sm->GetSubShape(),
|
||||||
*sm->GetFather(),
|
*sm->GetFather(),
|
||||||
|
Loading…
Reference in New Issue
Block a user