mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-14 09:38:33 +05:00
Win32 compatibility
This commit is contained in:
parent
0de979b494
commit
e66a037179
@ -1174,7 +1174,7 @@ int SMESH_MeshEditor::Reorient2D (TIDSortedElemSet & theFaces,
|
|||||||
avoidSet.clear();
|
avoidSet.clear();
|
||||||
avoidSet.insert(theFace);
|
avoidSet.insert(theFace);
|
||||||
|
|
||||||
NLink link( theFace->GetNode( 0 ), 0 );
|
NLink link( theFace->GetNode( 0 ), (SMDS_MeshNode *) 0 );
|
||||||
|
|
||||||
const int nbNodes = theFace->NbCornerNodes();
|
const int nbNodes = theFace->NbCornerNodes();
|
||||||
for ( int i = 0; i < nbNodes; ++i ) // loop on links of theFace
|
for ( int i = 0; i < nbNodes; ++i ) // loop on links of theFace
|
||||||
|
@ -3551,7 +3551,7 @@ namespace { // Structures used by FixQuadraticElements()
|
|||||||
}
|
}
|
||||||
else if ( _faces.size() > 1 ) // not found, set NULL by the first face
|
else if ( _faces.size() > 1 ) // not found, set NULL by the first face
|
||||||
{
|
{
|
||||||
_faces.insert( ++_faces.begin(), 0 );
|
_faces.insert( ++_faces.begin(), (QFace*) 0 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user