3rdParty/salomesmesh: suppress several small warnings
Warnings was about a struct declared as type and as usual added several additional brackets.
This commit is contained in:
parent
c3dfc7e30c
commit
a8634f09fc
|
@ -47,7 +47,7 @@ class SMESH_Hypothesis;
|
|||
class SMESH_Algo;
|
||||
class SMESH_Gen;
|
||||
class SMESH_subMeshEventListener;
|
||||
class SMESH_subMeshEventListenerData;
|
||||
struct SMESH_subMeshEventListenerData;
|
||||
class SMESH_subMesh;
|
||||
|
||||
typedef SMESH_subMeshEventListener EventListener;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
class SMESH_subMesh;
|
||||
class SMESH_Hypothesis;
|
||||
struct SMESH_subMeshEventListenerData;
|
||||
struct SMESH_subMeshEventListenerData;
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
/*!
|
||||
|
|
|
@ -187,8 +187,8 @@ int HashCode(const Link& aLink, int aLimit)
|
|||
|
||||
Standard_Boolean IsEqual(const Link& aLink1, const Link& aLink2)
|
||||
{
|
||||
return (aLink1.n1 == aLink2.n1 && aLink1.n2 == aLink2.n2 ||
|
||||
aLink1.n1 == aLink2.n2 && aLink1.n2 == aLink2.n1);
|
||||
return (aLink1.n1 == aLink2.n1 && aLink1.n2 == aLink2.n2) ||
|
||||
(aLink1.n1 == aLink2.n2 && aLink1.n2 == aLink2.n1);
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
|
@ -475,11 +475,13 @@ bool NETGENPlugin_Mesher::fillNgMesh(netgen::OCCGeometry& occgeom,
|
|||
|
||||
for ( int i = 0; i < 3; ++i ) {
|
||||
const SMDS_MeshNode* node = f->GetNode( i ), * inFaceNode=0;
|
||||
if ( helper.IsSeamShape( node->GetPosition()->GetShapeId() ))
|
||||
if ( helper.IsSeamShape( f->GetNodeWrap( i+1 )->GetPosition()->GetShapeId() ))
|
||||
if ( helper.IsSeamShape( node->GetPosition()->GetShapeId() )) {
|
||||
if ( helper.IsSeamShape( f->GetNodeWrap( i+1 )->GetPosition()->GetShapeId() )) {
|
||||
inFaceNode = f->GetNodeWrap( i-1 );
|
||||
else
|
||||
} else {
|
||||
inFaceNode = f->GetNodeWrap( i+1 );
|
||||
}
|
||||
}
|
||||
|
||||
gp_XY uv = helper.GetNodeUV( geomFace, node, inFaceNode );
|
||||
if ( reverse ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user