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:
authorCampbell Barton <ideasman42@gmail.com>2010-09-19 18:26:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-19 18:26:41 +0400
commitf127cafc41539ed0f604d78dfe63c300d7cfe753 (patch)
treecb33f652d61ea214d82819929db708ad276f16b6 /object_fracture
parenta3bfb72abb425eb8a4c1691cf042dc927cca2636 (diff)
minor syntax adjustments
Diffstat (limited to 'object_fracture')
-rw-r--r--object_fracture/fracture_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/object_fracture/fracture_ops.py b/object_fracture/fracture_ops.py
index b71d968a..820b7d65 100644
--- a/object_fracture/fracture_ops.py
+++ b/object_fracture/fracture_ops.py
@@ -97,7 +97,7 @@ def create_cutter(context, crack_type, scale, roughness):
# Adding fracture material
# @todo Doesn't work at all yet.
sce = bpy.context.scene
- if bpy.data.materials.get('fracture')==None:
+ if bpy.data.materials.get('fracture') is None:
bpy.ops.material.new()
bpy.ops.object.material_slot_add()
sce.objects.active.material_slots[0].material.name = 'fracture'