+ support of arbitrary background colors in snapshot function

This commit is contained in:
wmayer
2014-11-08 18:23:41 +01:00
parent a6b918b276
commit 303f00a06d
7 changed files with 56 additions and 120 deletions

View File

@@ -92,7 +92,7 @@ void Thumbnail::SaveDocFile (Base::Writer &writer) const
}
else {
try {
this->viewer->savePicture(this->size, this->size, View3DInventorViewer::Current, img);
this->viewer->savePicture(this->size, this->size, QColor(), img);
}
catch (...) {
this->createThumbnailFromFramebuffer(img);