CLIP_OT_delete_proxy missed a space-type test in its poll func (was noisy with the space-menu in 3D views :P ).

This commit is contained in:
Bastien Montagne 2011-11-16 11:52:31 +00:00
parent 01af54c464
commit bb04fc1246

@ -124,6 +124,9 @@ class CLIP_OT_delete_proxy(Operator):
@classmethod @classmethod
def poll(cls, context): def poll(cls, context):
if context.space_data.type != 'CLIP_EDITOR':
return False
sc = context.space_data sc = context.space_data
return sc.clip return sc.clip