mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 23:05:52 +08:00
SPE-1606 - Placement of switch view type icon in the 3D scene by the current selected instance bounding box
This commit is contained in:
parent
a4605a5e9e
commit
5984111388
@ -37,7 +37,7 @@
|
|||||||
// Shows an imgui dialog containing data from class ObjectManipulation
|
// Shows an imgui dialog containing data from class ObjectManipulation
|
||||||
#define ENABLE_OBJECT_MANIPULATION_DEBUG 0
|
#define ENABLE_OBJECT_MANIPULATION_DEBUG 0
|
||||||
// Shows an imgui dialog containing data for class GLCanvas3D::SLAView
|
// 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
|
// Enable rendering of objects using environment map
|
||||||
|
@ -570,7 +570,7 @@ private:
|
|||||||
GLCanvas3D& m_parent;
|
GLCanvas3D& m_parent;
|
||||||
typedef std::pair<GLVolume::CompositeID, ESLAViewType> InstancesCacheItem;
|
typedef std::pair<GLVolume::CompositeID, ESLAViewType> InstancesCacheItem;
|
||||||
std::vector<InstancesCacheItem> m_instances_cache;
|
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);
|
InstancesCacheItem* find_instance_item(const GLVolume::CompositeID& id);
|
||||||
void select_full_instance(const GLVolume::CompositeID& id);
|
void select_full_instance(const GLVolume::CompositeID& id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user