1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-22 09:54:27 +00:00

Update transformation values in sidebar for single volume/modifier selection

This commit is contained in:
Enrico Turri
2018-11-21 09:45:43 +01:00
parent 4eb82bda62
commit 37b5cb9a4d
+1 -1
View File
@@ -230,7 +230,7 @@ void ObjectManipulation::update_settings_value(const GLCanvas3D::Selection& sele
#endif // ENABLE_MODELVOLUME_TRANSFORM #endif // ENABLE_MODELVOLUME_TRANSFORM
m_og->enable(); m_og->enable();
} }
else if (selection.is_modifier()) else if (selection.is_single_modifier() || selection.is_single_volume())
{ {
// the selection contains a single volume // the selection contains a single volume
const GLVolume* volume = selection.get_volume(*selection.get_volume_idxs().begin()); const GLVolume* volume = selection.get_volume(*selection.get_volume_idxs().begin());