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:
authorBastien Montagne <montagne29@wanadoo.fr>2011-11-16 15:52:31 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2011-11-16 15:52:31 +0400
commitbb04fc124611355f97be8b6ecbf983aca07adee5 (patch)
tree0c72f3acc5ce0ddd2edd8949663c7b1f32ff8379 /release
parent01af54c4647f838e3e48bf7ffeb19e1729fc0c93 (diff)
CLIP_OT_delete_proxy missed a space-type test in its poll func (was noisy with the space-menu in 3D views :P ).
Diffstat (limited to 'release')
-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