diff options
-rw-r--r-- | release/scripts/startup/bl_operators/anim.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_operators/mask.py | 1 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py index ed7423f0615..f3575f26890 100644 --- a/release/scripts/startup/bl_operators/anim.py +++ b/release/scripts/startup/bl_operators/anim.py @@ -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 diff --git a/release/scripts/startup/bl_operators/mask.py b/release/scripts/startup/bl_operators/mask.py index 60208d27338..aa984659430 100644 --- a/release/scripts/startup/bl_operators/mask.py +++ b/release/scripts/startup/bl_operators/mask.py @@ -18,7 +18,6 @@ # <pep8-80 compliant> -import bpy from bpy.types import Menu diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index ecfab471ddc..33943aff0f3 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -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': |