Closed Synthoid closed 1 year ago
You shouldn't be able to do that... sample property is use to get a single color from a position in gradient [0-1]. Connecting surface to it shouldn't do anything.
The crash is probably caused by surface-number conversion. I will make it so the sample property reject surface datatype.
Makes sense. I was experimenting with different ways to apply color gradients and was expecting the connection to be rejected like you said. I believe a similar crash occurred when attempting to connect a surface output to a Vector split
node.
Both crashes are fixed in 1.11.0
Connecting a surface output to the
Gradient data
node'sSample
input connector throws the error below and causes a crash. I've also included an example file and a screenshot of the affected nodes.Nodes Involved:
ProceduralTest.txt