mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 10:11:10 -06:00
Merge branch 'tm_bug_SPE-1067'
This commit is contained in:
commit
ee11e05cd6
1 changed files with 2 additions and 6 deletions
|
|
@ -1116,12 +1116,8 @@ private:
|
||||||
for(Item& item : items_) item.translate(d);
|
for(Item& item : items_) item.translate(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setInitialPosition(Item& item) {
|
void setInitialPosition(Item& item) {
|
||||||
auto sh = item.rawShape();
|
Box bb = item.boundingBox();
|
||||||
sl::translate(sh, item.translation());
|
|
||||||
sl::rotate(sh, item.rotation());
|
|
||||||
|
|
||||||
Box bb = sl::boundingBox(sh);
|
|
||||||
|
|
||||||
Vertex ci, cb;
|
Vertex ci, cb;
|
||||||
auto bbin = sl::boundingBox(bin_);
|
auto bbin = sl::boundingBox(bin_);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue