Another fix on volumes translation
This commit is contained in:
parent
918cb48d45
commit
2548253d59
3 changed files with 14 additions and 12 deletions
src/slic3r/GUI
|
@ -361,8 +361,9 @@ void ObjectManipulation::update_rotation_value(const Vec3d& rotation)
|
|||
void ObjectManipulation::change_position_value(const Vec3d& position)
|
||||
{
|
||||
auto canvas = wxGetApp().plater()->canvas3D();
|
||||
canvas->get_selection().start_dragging();
|
||||
canvas->get_selection().translate(position - cache_position);
|
||||
GLCanvas3D::Selection& selection = canvas->get_selection();
|
||||
selection.start_dragging();
|
||||
selection.translate(position - cache_position, selection.requires_local_axes());
|
||||
canvas->do_move();
|
||||
|
||||
cache_position = position;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue