Support colour strips as Attract shots

This commit is contained in:
Sybren A. Stüvel 2018-03-22 16:25:35 +01:00
parent 096a5f5803
commit 4aae107396
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
- Replace BAM with BAT🦇. - Replace BAM with BAT🦇.
- Don't crash the texture browser when an invalid texture is seen. - Don't crash the texture browser when an invalid texture is seen.
- Support colour strips as Attract shots.
## Version 1.8 (2018-01-03) ## Version 1.8 (2018-01-03)

View File

@ -186,7 +186,7 @@ class AttractToolsPanel(AttractPollMixin, Panel):
def draw(self, context): def draw(self, context):
strip = active_strip(context) strip = active_strip(context)
layout = self.layout layout = self.layout
strip_types = {'MOVIE', 'IMAGE', 'META'} strip_types = {'MOVIE', 'IMAGE', 'META', 'COLOR'}
selshots = list(selected_shots(context)) selshots = list(selected_shots(context))
if strip and strip.type in strip_types and strip.atc_object_id: if strip and strip.type in strip_types and strip.atc_object_id: