[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2365] contrib/py/scripts/addons/ add_mesh_masonry.py: Fixed a minor API error with the add-on returning a string instead of a set in one case which caused the add-on to crash .
Paul Marshall
portsidepaul at verizon.net
Tue Sep 27 18:57:43 CEST 2011
Revision: 2365
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2365
Author: brikbot
Date: 2011-09-27 16:57:42 +0000 (Tue, 27 Sep 2011)
Log Message:
-----------
Fixed a minor API error with the add-on returning a string instead of a set in one case which caused the add-on to crash.
Modified Paths:
--------------
contrib/py/scripts/addons/add_mesh_masonry.py
Modified: contrib/py/scripts/addons/add_mesh_masonry.py
===================================================================
--- contrib/py/scripts/addons/add_mesh_masonry.py 2011-09-27 16:45:25 UTC (rev 2364)
+++ contrib/py/scripts/addons/add_mesh_masonry.py 2011-09-27 16:57:42 UTC (rev 2365)
@@ -2093,7 +2093,7 @@
global stepBack
# Create the wall when enabled (skip regen iterations when off)
- if not self.properties.ConstructTog: return ('FINISHED')
+ if not self.properties.ConstructTog: return {'FINISHED'}
#enter the settings for the wall dimensions (area)
# start can't be zero - min/max don't matter [if max less than end] but zero don't workie.
More information about the Bf-extensions-cvs
mailing list