diff --git a/sift/model/document.py b/sift/model/document.py index eed2e746810e80253213252a3eda877d7ee75b7b..61c2b3a585e1a647cb331782af84f9e31a42dad0 100644 --- a/sift/model/document.py +++ b/sift/model/document.py @@ -1159,7 +1159,7 @@ class Document(QObject): # base class is rightmost, mixins left of that r = building_blocks.get((plat, inst, step, rband), None) g = building_blocks.get((plat, inst, step, gband), None) b = building_blocks.get((plat, inst, step, bband), None) - if r and g and b: + if r or g or b: to_build.append((step,r,g,b)) to_make_invisible.extend([r,g,b]) LOG.info('will build RGB from r=%s g=%s b=%s' % (r,g,b))