forked from bartvdbraak/blender
Commented out some unimplemented operators, avoids gray text in the UI
Also I noticed there's a check on strip.type == 'EFFECT', which can never be true because strip.type actually contains the type of effect, e.g. "GLOW", "ADD" etc. Not a big problem currently because it's not used.
This commit is contained in:
parent
415a6f6015
commit
687c752b75
@ -246,20 +246,23 @@ class SEQUENCER_MT_strip(bpy.types.Menu):
|
||||
if strip:
|
||||
stype = strip.type
|
||||
|
||||
# XXX note strip.type is never equal to 'EFFECT', look at seq_type_items within rna_sequencer.c
|
||||
if stype == 'EFFECT':
|
||||
layout.separator()
|
||||
layout.operator("sequencer.effect_change")
|
||||
layout.operator("sequencer.effect_reassign_inputs")
|
||||
pass
|
||||
# layout.separator()
|
||||
# layout.operator("sequencer.effect_change")
|
||||
# layout.operator("sequencer.effect_reassign_inputs")
|
||||
elif stype == 'IMAGE':
|
||||
layout.separator()
|
||||
# layout.operator("sequencer.image_change")
|
||||
layout.operator("sequencer.rendersize")
|
||||
elif stype == 'SCENE':
|
||||
layout.separator()
|
||||
layout.operator("sequencer.scene_change", text="Change Scene")
|
||||
pass
|
||||
# layout.separator()
|
||||
# layout.operator("sequencer.scene_change", text="Change Scene")
|
||||
elif stype == 'MOVIE':
|
||||
layout.separator()
|
||||
layout.operator("sequencer.movie_change")
|
||||
# layout.operator("sequencer.movie_change")
|
||||
layout.operator("sequencer.rendersize")
|
||||
|
||||
layout.separator()
|
||||
|
Loading…
Reference in New Issue
Block a user