Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-09-11 02:29:40 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-09-11 02:29:40 +0400
commit135017985179ea98e618a4648ac5fee7f45026da (patch)
tree0e7bc31a373b1cec034a8a5cd909217d6601926f /object_fracture
parenta0cc8a2448256b0dfa200f76d28b91c78e77905f (diff)
Fix for RNA changes
Diffstat (limited to 'object_fracture')
-rw-r--r--object_fracture/fracture_ops.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/object_fracture/fracture_ops.py b/object_fracture/fracture_ops.py
index d4d8c461..19cd4bce 100644
--- a/object_fracture/fracture_ops.py
+++ b/object_fracture/fracture_ops.py
@@ -32,7 +32,7 @@ def create_cutter(context, crack_type, scale, roughness):
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 @@ def create_cutter(context, crack_type, scale, roughness):
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 @@ class FractureSimple(bpy.types.Operator):
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'}