Use the same colors as in 3D view when generating thumbnails
This commit is contained in:
parent
fb2448fbe3
commit
b0cc0e98fa
@ -4469,7 +4469,7 @@ void GLCanvas3D::_render_thumbnail_internal(ThumbnailData& thumbnail_data, const
|
||||
const Transform3d& projection_matrix = camera.get_projection_matrix();
|
||||
|
||||
for (GLVolume* vol : visible_volumes) {
|
||||
vol->model.set_color((vol->printable && !vol->is_outside) ? (current_printer_technology() == ptSLA ? vol->color : ColorRGBA::ORANGE()) : ColorRGBA::GRAY());
|
||||
vol->model.set_color((vol->printable && !vol->is_outside) ? vol->color : ColorRGBA::GRAY());
|
||||
// the volume may have been deactivated by an active gizmo
|
||||
const bool is_active = vol->is_active;
|
||||
vol->is_active = true;
|
||||
|
Loading…
Reference in New Issue
Block a user