Merge branch 'tm_bug_SPE-1067'

This commit is contained in:
tamasmeszaros 2020-01-09 14:22:30 +01:00
commit ee11e05cd6

View File

@ -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_);