Salome HOME
Fix regression in RemoveHypothesis() method (hypothesis is not removed if mesh does...
authorvsr <vsr@opencascade.com>
Tue, 15 Jan 2013 12:26:34 +0000 (12:26 +0000)
committervsr <vsr@opencascade.com>
Tue, 15 Jan 2013 12:26:34 +0000 (12:26 +0000)
src/SMESH_SWIG/smeshDC.py

index 3db5c77d8fab12676d10df0182d3952c5ce3cd8c..85df31cf37958e20cc6de55809ebd2e4532fe9cc 100644 (file)
@@ -1368,7 +1368,7 @@ class Mesh:
     #  @return True of False
     #  @ingroup l2_hypotheses
     def IsUsedHypothesis(self, hyp, geom):
-        if not hyp or not geom:
+        if not hyp: # or not geom
             return False
         if isinstance( hyp, Mesh_Algorithm ):
             hyp = hyp.GetAlgorithm()