+ support of arbitrary background colors in snapshot function
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user