Code cleanup: unused python vars & imports

Use frosted rather then pyflakes
This commit is contained in:
Campbell Barton
2014-04-25 05:31:20 +10:00
parent 16443b1ae0
commit a15be34389
31 changed files with 24 additions and 61 deletions

View File

@@ -687,7 +687,6 @@ class TransformsToDeltasAnim(Operator):
DELTA_PATHS = STANDARD_TO_DELTA_PATHS.values()
# try to apply on each selected object
success = False
for obj in context.selected_editable_objects:
adt = obj.animation_data
if (adt is None) or (adt.action is None):
@@ -792,7 +791,6 @@ class LodByName(Operator):
return (context.active_object is not None)
def execute(self, context):
scene = context.scene
ob = context.active_object
prefix = ""
@@ -843,7 +841,6 @@ class LodClearAll(Operator):
return (context.active_object is not None)
def execute(self, context):
scene = context.scene
ob = context.active_object
if ob.lod_levels: