From 5984111388f796858393cb05104f09ba015b39ae Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Wed, 10 May 2023 10:37:05 +0200 Subject: [PATCH] SPE-1606 - Placement of switch view type icon in the 3D scene by the current selected instance bounding box --- src/libslic3r/Technologies.hpp | 2 +- src/slic3r/GUI/GLCanvas3D.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/Technologies.hpp b/src/libslic3r/Technologies.hpp index adfcda664..602654633 100644 --- a/src/libslic3r/Technologies.hpp +++ b/src/libslic3r/Technologies.hpp @@ -37,7 +37,7 @@ // Shows an imgui dialog containing data from class ObjectManipulation #define ENABLE_OBJECT_MANIPULATION_DEBUG 0 // Shows an imgui dialog containing data for class GLCanvas3D::SLAView -#define ENABLE_SLA_VIEW_DEBUG_WINDOW 1 +#define ENABLE_SLA_VIEW_DEBUG_WINDOW 0 // Enable rendering of objects using environment map diff --git a/src/slic3r/GUI/GLCanvas3D.hpp b/src/slic3r/GUI/GLCanvas3D.hpp index a0e4df88f..38dcdb8b8 100644 --- a/src/slic3r/GUI/GLCanvas3D.hpp +++ b/src/slic3r/GUI/GLCanvas3D.hpp @@ -570,7 +570,7 @@ private: GLCanvas3D& m_parent; typedef std::pair InstancesCacheItem; std::vector m_instances_cache; - bool m_use_instance_bbox{ false }; + bool m_use_instance_bbox{ true }; InstancesCacheItem* find_instance_item(const GLVolume::CompositeID& id); void select_full_instance(const GLVolume::CompositeID& id);