mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-27 00:24:00 -06:00
NEW:add paint tool in assembly view
Change-Id: I108e1e24ca9d033d2279c8153585166971a347a6
This commit is contained in:
parent
5236f17792
commit
ab0c6611c8
13 changed files with 265 additions and 108 deletions
|
@ -2712,9 +2712,14 @@ void Selection::paste_objects_from_clipboard()
|
|||
displacement = {empty_cell.x() + point_offset.x(), empty_cell.y() + point_offset.y(), start_offset(2)};
|
||||
}
|
||||
|
||||
for (ModelInstance* inst : dst_object->instances)
|
||||
for (ModelInstance* inst : dst_object->instances) {
|
||||
inst->set_offset(displacement);
|
||||
|
||||
//BBS init asssmble transformation
|
||||
Geometry::Transformation t = inst->get_transformation();
|
||||
inst->set_assemble_transformation(t);
|
||||
}
|
||||
|
||||
object_idxs.push_back(m_model->objects.size() - 1);
|
||||
#ifdef _DEBUG
|
||||
check_model_ids_validity(*m_model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue