SPE-1606 - Placement of switch view type icon in the 3D scene by the current selected instance bounding box

This commit is contained in:
enricoturri1966 2023-05-10 10:37:05 +02:00
parent a4605a5e9e
commit 5984111388
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -570,7 +570,7 @@ private:
GLCanvas3D& m_parent;
typedef std::pair<GLVolume::CompositeID, ESLAViewType> InstancesCacheItem;
std::vector<InstancesCacheItem> 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);