mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
ENH: speed up timelapse pos pick
1. Cache the bbox of object jira: STUDIO-11625 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I4682cd5fe2aef1dc5cd5fd6be33425c7095263eb (cherry picked from commit 07516d1fecfff7719a60f2c5730bfcbe1958299e)
This commit is contained in:
@@ -64,6 +64,8 @@ namespace Slic3r {
|
||||
Polygon m_bed_polygon;
|
||||
Point m_plate_offset;
|
||||
|
||||
std::unordered_map<const PrintInstance*, BoundingBoxf3> bbox_cache;
|
||||
|
||||
std::optional<Point> m_all_layer_pos;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user