Fix confusing transparency attribute in add style API usecase. See #1529.

This commit is contained in:
Dion Moult
2021-06-18 08:03:44 +10:00
parent 2a2f4d692a
commit 567bc7b667
2 changed files with 2 additions and 1 deletions
@@ -23,7 +23,7 @@ class Usecase:
"IfcSurfaceStyleRendering",
**{
"SurfaceColour": self.create_colour_rgb(self.settings["surface_colour"]),
"Transparency": (self.settings["transparency"] - 1) * -1,
"Transparency": self.settings["transparency"],
"ReflectanceMethod": "NOTDEFINED",
"DiffuseColour": self.create_colour_rgb(self.settings["diffuse_colour"]),
}