]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
Porting SALOME 6.3.0 on windows platform.
authorrnv <rnv@opencascade.com>
Wed, 6 Jul 2011 06:50:17 +0000 (06:50 +0000)
committerrnv <rnv@opencascade.com>
Wed, 6 Jul 2011 06:50:17 +0000 (06:50 +0000)
src/GHS3DPlugin/GHS3DPlugin_Hypothesis_i.cxx
src/GHS3DPlugin/GHS3DPlugin_i.cxx
src/GHS3DPlugin/Makefile.am

index 2e9a740042f7cf26ae1fe2de00b9511b8819b091..4dd927c044654cdf057b4da064797e8351531a94 100644 (file)
@@ -801,7 +801,7 @@ bool GHS3DPlugin_Hypothesis_i::SetEnforcedMeshSizeWithGroup(SMESH::SMESH_IDSourc
   SMESH_Mesh_i* theMesh_i = SMESH::DownCast<SMESH_Mesh_i*>( theSource);
   SMESH_Group_i* theGroup_i = SMESH::DownCast<SMESH_Group_i*>( theSource);
   SMESH_GroupOnGeom_i* theGroupOnGeom_i = SMESH::DownCast<SMESH_GroupOnGeom_i*>( theSource);
-  if (theGroup_i or theGroupOnGeom_i)
+  if (theGroup_i || theGroupOnGeom_i)
   {
     SMESH::TPythonDump () << "isDone = " << _this() << ".SetEnforcedMeshSizeWithGroup( " 
                           << theSource << ", " << theType << ", " << theSize << ", \"" << theGroupName << "\" )";
@@ -833,7 +833,7 @@ bool GHS3DPlugin_Hypothesis_i::SetEnforcedMeshSize(SMESH::SMESH_IDSource_ptr the
   SMESH_Mesh_i* theMesh_i = SMESH::DownCast<SMESH_Mesh_i*>( theSource);
   SMESH_Group_i* theGroup_i = SMESH::DownCast<SMESH_Group_i*>( theSource);
   SMESH_GroupOnGeom_i* theGroupOnGeom_i = SMESH::DownCast<SMESH_GroupOnGeom_i*>( theSource);
-  if (theGroup_i or theGroupOnGeom_i)
+  if (theGroup_i || theGroupOnGeom_i)
   {
     SMESH::TPythonDump () << "isDone = " << _this() << ".SetEnforcedMeshSize( " 
                           << theSource << ", " << theType << ", " << theSize << " )";
index 47b61158e3f0fc97b810f0d49e7ca6279ef8ca96..a771883ecb56156049ee9fd31fa6346a2519be32 100644 (file)
@@ -46,7 +46,7 @@ template <class T> class GHS3DPlugin_Creator_i:public HypothesisCreator_i<T>
 
 extern "C"
 {
-  GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName);
+  GHS3DPLUGIN_EXPORT GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName);
   
   GHS3DPLUGIN_EXPORT
   GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName)
index 9ecba31e376a20fde1753740dcdb3824366cae8d..ffd87047814bf74e69eaa77e6bfd04bb39da61cb 100644 (file)
@@ -62,4 +62,4 @@ libGHS3DEngine_la_LDFLAGS  = \
   $(CAS_KERNEL) -lTKBRep -lTKG2d -lTKG3d -lTKTopAlgo -lTKGeomBase -lTKGeomAlgo \
   $(MED_LDFLAGS) -lSalomeIDLMED \
   $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lSMESHDS -lSMDS -lStdMeshers \
-  $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSALOMELocalTrace -lSALOMEBasics
+  $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSALOMELocalTrace -lSALOMEBasics -lSalomeNS