diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-19 18:26:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-19 18:26:41 +0400 |
commit | f127cafc41539ed0f604d78dfe63c300d7cfe753 (patch) | |
tree | cb33f652d61ea214d82819929db708ad276f16b6 /object_fracture/fracture_ops.py | |
parent | a3bfb72abb425eb8a4c1691cf042dc927cca2636 (diff) |
minor syntax adjustments
Diffstat (limited to 'object_fracture/fracture_ops.py')
-rw-r--r-- | object_fracture/fracture_ops.py | 2 |
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' |