Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_operators/clip.py')
-rw-r--r--release/scripts/startup/bl_operators/clip.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py
index 091e3defbf8..7900cb46e95 100644
--- a/release/scripts/startup/bl_operators/clip.py
+++ b/release/scripts/startup/bl_operators/clip.py
@@ -124,6 +124,9 @@ class CLIP_OT_delete_proxy(Operator):
@classmethod
def poll(cls, context):
+ if context.space_data.type != 'CLIP_EDITOR':
+ return False
+
sc = context.space_data
return sc.clip