mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 20:26:22 +00:00
add surface and use_surface_color on style class
This commit is contained in:
@@ -316,7 +316,7 @@ typedef item const* ptr;
|
|||||||
virtual kinds kind() const { return STYLE; }
|
virtual kinds kind() const { return STYLE; }
|
||||||
|
|
||||||
virtual size_t calc_hash() const {
|
virtual size_t calc_hash() const {
|
||||||
auto v = std::make_tuple(static_cast<size_t>(STYLE), name, diffuse.hash(), specular.hash(), specularity, transparency);
|
auto v = std::make_tuple(static_cast<size_t>(STYLE), name, diffuse.hash(), surface.hash(), specular.hash(), specularity, transparency, use_surface_color);
|
||||||
return boost::hash<decltype(v)>{}(v);
|
return boost::hash<decltype(v)>{}(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user