ran through pep8 checker

This commit is contained in:
2010-09-07 15:17:42 +00:00
parent e53bbc7ab7
commit 115b256738
64 changed files with 320 additions and 370 deletions

View File

@@ -60,7 +60,6 @@ def add_object_data(context, obdata, operator=None):
if context.space_data and context.space_data.type == 'VIEW_3D':
base.layers_from_view(context.space_data)
obj_new.matrix_world = add_object_align_init(context, operator)
obj_act = scene.objects.active
@@ -69,10 +68,10 @@ def add_object_data(context, obdata, operator=None):
bpy.ops.object.mode_set(mode='OBJECT')
obj_act.select = True
scene.update() # apply location
scene.update() # apply location
#scene.objects.active = obj_new
bpy.ops.object.join() # join into the active.
bpy.ops.object.join() # join into the active.
bpy.ops.object.mode_set(mode='EDIT')
else: