Fix bug where diffuse colour was not correctly extracted from nodes

This commit is contained in:
Dion Moult
2021-11-10 16:39:06 +11:00
parent 0992f43f11
commit 0dac56dbdf
2 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -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,
},
}