mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
ENABLE_THUMBNAIL_GENERATOR -> Do not render wipe tower into thumbnail
This commit is contained in:
@@ -1664,7 +1664,7 @@ void GLCanvas3D::render_thumbnail(ThumbnailData& thumbnail_data, unsigned int w,
|
|||||||
|
|
||||||
for (GLVolume* vol : m_volumes.volumes)
|
for (GLVolume* vol : m_volumes.volumes)
|
||||||
{
|
{
|
||||||
if (!vol->is_modifier && (!parts_only || (vol->composite_id.volume_id >= 0)))
|
if (!vol->is_modifier && !vol->is_wipe_tower && (!parts_only || (vol->composite_id.volume_id >= 0)))
|
||||||
{
|
{
|
||||||
if (!printable_only || is_visible(*vol))
|
if (!printable_only || is_visible(*vol))
|
||||||
visible_volumes.push_back(vol);
|
visible_volumes.push_back(vol);
|
||||||
|
|||||||
Reference in New Issue
Block a user