Cleanup: python

This commit is contained in:
Campbell Barton 2015-05-26 23:53:47 +10:00
parent 6973e26bf9
commit 89b6c72f8d
3 changed files with 2 additions and 3 deletions

@ -232,7 +232,7 @@ class BakeAction(Operator):
action = None
if self.use_current_action:
obj = bpy.context.object
obj = context.object
if obj.animation_data:
action = obj.animation_data.action

@ -18,7 +18,6 @@
# <pep8-80 compliant>
import bpy
from bpy.types import Menu

@ -988,7 +988,7 @@ class CLIP_PT_proxy(CLIP_PT_clip_view_panel, Panel):
col.prop(clip.proxy, "directory")
col.operator("clip.rebuild_proxy",
text="Build Proxy / Timecode" if clip.source == 'MOVIE' \
text="Build Proxy / Timecode" if clip.source == 'MOVIE'
else "Build Proxy")
if clip.source == 'MOVIE':