From d2181da78c1804e558ec5ac66b44685094543143 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 3 Feb 2006 09:44:43 +0000 Subject: [PATCH] Fix for Bug IPAL11496 "try_cutplanes_parameters()" with None as parameter raises NameError. --- src/VISU_SWIG/visu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VISU_SWIG/visu.py b/src/VISU_SWIG/visu.py index 6aade010..daadf7aa 100644 --- a/src/VISU_SWIG/visu.py +++ b/src/VISU_SWIG/visu.py @@ -742,7 +742,7 @@ def dump_deformedshape_parameters(theObject): # ---------------------- def try_cutplanes_parameters(thePattern) : - if thePattern is None : return aList + if thePattern is None : return None import copy import random -- 2.39.2