ENABLE_THUMBNAIL_GENERATOR -> Fixed color of non printable volumes into thumbnail

This commit is contained in:
Enrico Turri 2019-10-24 10:38:30 +02:00
parent 6d5572ae47
commit a1f2ecb285

View File

@ -89,7 +89,7 @@ void ThumbnailGenerator::render_and_store(const GLVolumePtrs& volumes, bool prin
for (const GLVolume* vol : visible_volumes)
{
glsafe(::glColor3fv(vol->printable ? orange : gray));
glsafe(::glColor3fv((vol->printable && !vol->is_outside) ? orange : gray));
vol->render();
}