mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-15 18:14:08 +00:00
#1803 Use abstract GeometrySerializer as cache to eliminate cyclic dependencies
This commit is contained in:
@@ -1035,7 +1035,7 @@ namespace IfcGeom {
|
||||
gid2 = gid2.substr(0, hyphen);
|
||||
}
|
||||
|
||||
auto from_cache = cache_->read(*ifc_file, next_shape_model->guid(), boost::lexical_cast<int>(gid2), HdfSerializer::READ_TRIANGULATION);
|
||||
auto from_cache = cache_->read(*ifc_file, next_shape_model->guid(), boost::lexical_cast<int>(gid2), GeometrySerializer::READ_TRIANGULATION);
|
||||
if (from_cache) {
|
||||
read_from_cache = true;
|
||||
next_triangulation = (TriangulationElement*)from_cache;
|
||||
|
||||
Reference in New Issue
Block a user