diff --git a/vcg/space/outline2_packer.h b/vcg/space/outline2_packer.h index f1aa6120..ecc5d42a 100644 --- a/vcg/space/outline2_packer.h +++ b/vcg/space/outline2_packer.h @@ -183,8 +183,8 @@ static bool PackMultiAsObjectOrientedRect(const std::vector< std::vector::PackMulti(bbVec,containerSizeX,containerNum,trVec,indVec,coveredContainerVec); + const Point2i containerSizeI=Point2i::Construct(containerSizeX); + bool ret= RectPacker::PackMulti(bbVec,containerSizeI,containerNum,trVec,indVec,coveredContainerVec); for(size_t i=0;i