From 08b70d2054f16a2600295bab2aa837cbbf270032 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 15 Jan 2013 12:26:34 +0000 Subject: [PATCH] Fix regression in RemoveHypothesis() method (hypothesis is not removed if mesh does not have underlying shape) caused by previous integrations --- src/SMESH_SWIG/smeshDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 3db5c77d8..85df31cf3 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -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() -- 2.39.2