forked from bartvdbraak/blender
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:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user