From 65234360cb7e62bb0a6a5eb4a0691a9a776642c5 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 22 Aug 2012 13:21:57 +0000 Subject: [PATCH] Fix bug in the constructor --- src/GHS3DPRLPlugin/GHS3DPRLPluginDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2