Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-07-10 23:04:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-10 23:04:51 +0400
commit4e7bd1a63d833b55381e7911cf21ab19f007b4ba (patch)
tree9611ddd4b7e766027a1463e2493d089bf1d17279 /space_view3d_property_chart.py
parentdad3eccc7df0e667e581a72c264512dbeabb9b86 (diff)
add a poll function for the sequencer
Diffstat (limited to 'space_view3d_property_chart.py')
-rw-r--r--space_view3d_property_chart.py2
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