Skip to content
Snippets Groups Projects
Unverified Commit 3a9d45ea authored by David Hoese's avatar David Hoese
Browse files

Fix creating RGBs for all time steps when not all bands are specified

parent f1255b66
No related branches found
No related tags found
No related merge requests found
...@@ -1159,7 +1159,7 @@ class Document(QObject): # base class is rightmost, mixins left of that ...@@ -1159,7 +1159,7 @@ class Document(QObject): # base class is rightmost, mixins left of that
r = building_blocks.get((plat, inst, step, rband), None) r = building_blocks.get((plat, inst, step, rband), None)
g = building_blocks.get((plat, inst, step, gband), None) g = building_blocks.get((plat, inst, step, gband), None)
b = building_blocks.get((plat, inst, step, bband), 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_build.append((step,r,g,b))
to_make_invisible.extend([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)) LOG.info('will build RGB from r=%s g=%s b=%s' % (r,g,b))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment