diff --git a/VirtualRobot/CollisionDetection/CollisionModel.h b/VirtualRobot/CollisionDetection/CollisionModel.h index bc2dfc729e773ab3740e2e3419dfd8ddef3f434b..7547e65075c125b0e1e47ee851453c9b9590d981 100644 --- a/VirtualRobot/CollisionDetection/CollisionModel.h +++ b/VirtualRobot/CollisionDetection/CollisionModel.h @@ -83,9 +83,11 @@ namespace VirtualRobot \param global If set, the boundignBox is transformed to globalCoordinate system. Otherwise the local BBox is returned. */ BoundingBox getBoundingBox(bool global = true); + + [[deprecated("The behavior of this function has changed. To obtain the bounding box in the global coordinate frame, use getGlobalBoundingBox() instead.")]] BoundingBox getLocalBoundingBox() { - return getBoundingBox(); + return getBoundingBox(false); } BoundingBox getGlobalBoundingBox() {