mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 00:36:25 +08:00
Do not set_volume when same id not pointer
This commit is contained in:
parent
2cebbe72e7
commit
20529f8cf8
@ -1076,7 +1076,8 @@ void GLGizmoEmboss::set_volume_by_selection()
|
||||
{
|
||||
ModelVolume *vol = priv::get_selected_volume(m_parent.get_selection());
|
||||
// is same volume selected?
|
||||
if (vol != nullptr && m_volume == vol) return;
|
||||
if (vol != nullptr && vol->id() == m_volume_id)
|
||||
return;
|
||||
|
||||
// for changed volume notification is NOT valid
|
||||
remove_notification_not_valid_font();
|
||||
|
Loading…
x
Reference in New Issue
Block a user