From f127cafc41539ed0f604d78dfe63c300d7cfe753 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 19 Sep 2010 14:26:41 +0000 Subject: minor syntax adjustments --- object_fracture/fracture_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'object_fracture') 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' -- cgit v1.2.3