[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1012] trunk/py/scripts/addons/ object_fracture/fracture_ops.py: Fix for RNA changes

Nathan Letwory nathan at letworyinteractive.com
Sat Sep 11 00:29:40 CEST 2010


Revision: 1012
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1012
Author:   jesterking
Date:     2010-09-11 00:29:40 +0200 (Sat, 11 Sep 2010)

Log Message:
-----------
Fix for RNA changes

Modified Paths:
--------------
    trunk/py/scripts/addons/object_fracture/fracture_ops.py

Modified: trunk/py/scripts/addons/object_fracture/fracture_ops.py
===================================================================
--- trunk/py/scripts/addons/object_fracture/fracture_ops.py	2010-09-10 22:28:43 UTC (rev 1011)
+++ trunk/py/scripts/addons/object_fracture/fracture_ops.py	2010-09-10 22:29:40 UTC (rev 1012)
@@ -32,7 +32,7 @@
             enter_editmode=False,
             location=(0, 0, 0),
             rotation=(0, 0, 0),
-            layer=(True, False, False, False,
+            layers=(True, False, False, False,
                 False, False, False, False,
                 False, False, False, False,
                 False, False, False, False,
@@ -65,7 +65,7 @@
             enter_editmode=False,
             location=(0, 0, 0),
             rotation=(0, 0, 0),
-            layer=(True, False, False, False,
+            layers=(True, False, False, False,
                 False, False, False, False,
                 False, False, False, False,
                 False, False, False, False,
@@ -391,13 +391,11 @@
 
     def execute(self, context):
         #getIslands(context.object)
-        props = self.properties
-
-        if props.exe:
+        if self.exe:
             fracture_basic(context,
-                    props.nshards,
-                    props.crack_type,
-                    props.roughness)
+                    self.nshards,
+                    self.crack_type,
+                    self.roughness)
 
         return {'FINISHED'}
 




More information about the Bf-extensions-cvs mailing list