minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for convenience.

This commit is contained in:
2011-04-10 10:45:56 +00:00
parent 1c6956a4d6
commit 28594bc742
7 changed files with 24 additions and 20 deletions

View File

@@ -163,7 +163,7 @@ class MakeSmoke(bpy.types.Operator):
# create a volume material with a voxel data texture for the domain
bpy.ops.object.material_slot_add({"object": obj})
mat = bpy.data.materials.new("Smoke Domain Material");
mat = bpy.data.materials.new("Smoke Domain Material")
obj.material_slots[0].material = mat
mat.type = 'VOLUME'
mat.volume.density = 0
@@ -274,8 +274,8 @@ class MakeFluid(bpy.types.Operator):
# create a ray-transparent material for the domain
bpy.ops.object.material_slot_add({"object": obj})
mat = bpy.data.materials.new("Fluid Domain Material");
mat = bpy.data.materials.new("Fluid Domain Material")
obj.material_slots[0].material = mat
mat.specular_intensity = 1