Fix wrong bounding box calculation for initial arrange item.
This commit is contained in:
parent
5bb9ba64c2
commit
7fd4800e7c
@ -1117,11 +1117,7 @@ private:
|
||||
}
|
||||
|
||||
void setInitialPosition(Item& item) {
|
||||
auto sh = item.rawShape();
|
||||
sl::translate(sh, item.translation());
|
||||
sl::rotate(sh, item.rotation());
|
||||
|
||||
Box bb = sl::boundingBox(sh);
|
||||
Box bb = item.boundingBox();
|
||||
|
||||
Vertex ci, cb;
|
||||
auto bbin = sl::boundingBox(bin_);
|
||||
|
Loading…
Reference in New Issue
Block a user