mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
Fix bug where diffuse colour was not correctly extracted from nodes
This commit is contained in:
@@ -112,9 +112,9 @@ class TestGetSurfaceRenderingAttributes(NewFile):
|
||||
"Transparency": 1 - node.inputs["Alpha"].default_value,
|
||||
"DiffuseColour": {
|
||||
"Name": None,
|
||||
"Red": 1,
|
||||
"Green": 1,
|
||||
"Blue": 1,
|
||||
"Red": 0.5,
|
||||
"Green": 0.5,
|
||||
"Blue": 0.5,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user