]> SALOME platform Git repositories - plugins/ghs3dprlplugin.git/commitdiff
Salome HOME
Fix bug in the constructor
authorvsr <vsr@opencascade.com>
Wed, 22 Aug 2012 13:21:57 +0000 (13:21 +0000)
committervsr <vsr@opencascade.com>
Wed, 22 Aug 2012 13:21:57 +0000 (13:21 +0000)
src/GHS3DPRLPlugin/GHS3DPRLPluginDC.py

index 690b9b94fb7b61156df4b8ee24c0a931a11188a4..8198e000be4b96b3ab605ba2ee23a791ab9d4b9f 100644 (file)
@@ -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