From cd3df94a4bbb362d3ac50fb62f5f7439109ce89f Mon Sep 17 00:00:00 2001 From: Cristian Ritter Date: Mon, 19 Aug 2024 18:44:43 -0300 Subject: [PATCH] add surface and use_surface_color on style class --- src/ifcgeom/taxonomy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/taxonomy.h b/src/ifcgeom/taxonomy.h index 9b02e7a2fc..91239c8bc2 100644 --- a/src/ifcgeom/taxonomy.h +++ b/src/ifcgeom/taxonomy.h @@ -316,7 +316,7 @@ typedef item const* ptr; virtual kinds kind() const { return STYLE; } virtual size_t calc_hash() const { - auto v = std::make_tuple(static_cast(STYLE), name, diffuse.hash(), specular.hash(), specularity, transparency); + auto v = std::make_tuple(static_cast(STYLE), name, diffuse.hash(), surface.hash(), specular.hash(), specularity, transparency, use_surface_color); return boost::hash{}(v); }