mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Object's position updated on gui after displacement
This commit is contained in:
@@ -5243,6 +5243,7 @@ void GLCanvas3D::_on_move(const std::vector<int>& volume_idxs)
|
|||||||
const Vec3d& offset = volume->get_offset();
|
const Vec3d& offset = volume->get_offset();
|
||||||
model_object->instances[instance_idx]->offset = Vec2d(offset(0), offset(1));
|
model_object->instances[instance_idx]->offset = Vec2d(offset(0), offset(1));
|
||||||
model_object->invalidate_bounding_box();
|
model_object->invalidate_bounding_box();
|
||||||
|
update_position_values();
|
||||||
object_moved = true;
|
object_moved = true;
|
||||||
}
|
}
|
||||||
else if (obj_idx == 1000)
|
else if (obj_idx == 1000)
|
||||||
|
|||||||
Reference in New Issue
Block a user