From aaafb1e7edb27b0699037b8086d5bfb1d0505d18 Mon Sep 17 00:00:00 2001 From: gdd Date: Mon, 6 Aug 2012 08:57:15 +0000 Subject: [PATCH] Another fix --- src/GHS3DPlugin/GHS3DPluginDC.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GHS3DPlugin/GHS3DPluginDC.py b/src/GHS3DPlugin/GHS3DPluginDC.py index 74d5c2c..adc2dd9 100644 --- a/src/GHS3DPlugin/GHS3DPluginDC.py +++ b/src/GHS3DPlugin/GHS3DPluginDC.py @@ -170,12 +170,12 @@ class GHS3D_Algorithm(Mesh_Algorithm): # @param groupName : group in which enforced elements will be added. Unused if "". def SetEnforcedMesh(self, theSource, elementType, size = -1, groupName = ""): if size < 0: - if groupName != "": + if groupName == "": return self.Parameters().SetEnforcedMesh(theSource, elementType) else: return self.Parameters().SetEnforcedMeshWithGroup(theSource, elementType, groupName) else: - if groupName != "": + if groupName == "": return self.Parameters().SetEnforcedMeshSize(theSource, elementType, size) else: return self.Parameters().SetEnforcedMeshSizeWithGroup(theSource, elementType, size, groupName) -- 2.39.2