diff options
author | Elia Sarti <vekoon@gmail.com> | 2010-04-04 22:56:03 +0400 |
---|---|---|
committer | Elia Sarti <vekoon@gmail.com> | 2010-04-04 22:56:03 +0400 |
commit | 687c752b75bc488b2de5a4186ba2398b31dbb46e (patch) | |
tree | dfc32fc82ce082c94799d1a46fa7d5f05ff094cc | |
parent | 415a6f6015e4ea48bd6a4e4a880cdaee2db26abe (diff) |
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.
-rw-r--r-- | release/scripts/ui/space_sequencer.py | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/release/scripts/ui/space_sequencer.py b/release/scripts/ui/space_sequencer.py index 4516499b47c..4680c5c1d19 100644 --- a/release/scripts/ui/space_sequencer.py +++ b/release/scripts/ui/space_sequencer.py @@ -245,21 +245,24 @@ class SEQUENCER_MT_strip(bpy.types.Menu): if strip: stype = strip.type - - if stype == 'EFFECT': - layout.separator() - layout.operator("sequencer.effect_change") - layout.operator("sequencer.effect_reassign_inputs") + + # XXX note strip.type is never equal to 'EFFECT', look at seq_type_items within rna_sequencer.c + if stype == 'EFFECT': + 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() |