mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 05:19:06 +08:00
Object's position updated on gui after displacement
This commit is contained in:
parent
622e86d9e4
commit
42567e3af2
@ -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…
x
Reference in New Issue
Block a user