mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-14 04:58:09 +08:00
Allow to drag object's subparts once selected using the sidebar table
This commit is contained in:
parent
12c91f4283
commit
06c2b4bdf3
@ -896,7 +896,11 @@ void GLCanvas3D::Selection::add(unsigned int volume_idx, bool as_single_selectio
|
|||||||
if (needs_reset)
|
if (needs_reset)
|
||||||
clear();
|
clear();
|
||||||
|
|
||||||
m_mode = volume->is_modifier ? Volume : Instance;
|
if (volume->is_modifier)
|
||||||
|
m_mode = Volume;
|
||||||
|
else if (!contains_volume(volume_idx))
|
||||||
|
m_mode = Instance;
|
||||||
|
// else -> keep current mode
|
||||||
|
|
||||||
switch (m_mode)
|
switch (m_mode)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user