diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-10 23:04:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-10 23:04:51 +0400 |
commit | 4e7bd1a63d833b55381e7911cf21ab19f007b4ba (patch) | |
tree | 9611ddd4b7e766027a1463e2493d089bf1d17279 /space_view3d_property_chart.py | |
parent | dad3eccc7df0e667e581a72c264512dbeabb9b86 (diff) |
add a poll function for the sequencer
Diffstat (limited to 'space_view3d_property_chart.py')
-rw-r--r-- | space_view3d_property_chart.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/space_view3d_property_chart.py b/space_view3d_property_chart.py index e28da469..4a99d188 100644 --- a/space_view3d_property_chart.py +++ b/space_view3d_property_chart.py @@ -170,6 +170,8 @@ class SequencerEditProps(bpy.types.Panel): draw = _property_chart_draw + def poll(self, context): + return context.scene.sequence_editor is not None # Operator to copy properties |