CLIP_OT_delete_proxy missed a space-type test in its poll func (was noisy with the...
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 16 Nov 2011 11:52:31 +0000 (11:52 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 16 Nov 2011 11:52:31 +0000 (11:52 +0000)
release/scripts/startup/bl_operators/clip.py

index 091e3defbf8431be41a82cc37faa5a417c8b3e82..7900cb46e95e95730c31f902c7538d5fba48a995 100644 (file)
@@ -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