From: vsr Date: Wed, 22 Aug 2012 13:21:57 +0000 (+0000) Subject: Fix bug in the constructor X-Git-Tag: V6_6_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65234360cb7e62bb0a6a5eb4a0691a9a776642c5;p=plugins%2Fghs3dprlplugin.git Fix bug in the constructor --- diff --git a/src/GHS3DPRLPlugin/GHS3DPRLPluginDC.py b/src/GHS3DPRLPlugin/GHS3DPRLPluginDC.py index 690b9b9..8198e00 100644 --- a/src/GHS3DPRLPlugin/GHS3DPRLPluginDC.py +++ b/src/GHS3DPRLPlugin/GHS3DPRLPluginDC.py @@ -69,7 +69,7 @@ class GHS3DPRL_Algorithm(Mesh_Algorithm): # if it is @c 0 (default), the algorithm is assigned to the main shape def __init__(self, mesh, geom=0): Mesh_Algorithm.__init__(self) - if none_optimization: print "Warning: GHS3DPRLPlugin module unavailable" + if noGHS3DPRLPlugin: print "Warning: GHS3DPRLPlugin module unavailable" self.Create(mesh, geom, self.algoType, "libGHS3DPRLEngine.so") pass