mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-03 12:04:05 -06:00
Object's position updated on gui after displacement
This commit is contained in:
parent
622e86d9e4
commit
42567e3af2
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue