material-maker icon indicating copy to clipboard operation
material-maker copied to clipboard

Material Depth output causes a segfaults at intermediate invalid user input

Open unfa opened this issue 4 years ago • 2 comments

I've crashed Material Maker multiple times today by trying to alter the Depth multiplier on the Material Output node.

I've figured out what I've done was use backspace to remove digits, wanting to insert new ones. As soon as I changed "0.5" to "0." - Material Maker segfaulted.

I guess it should sanitize the value and buffer last known working one in such cases?

unfa avatar Oct 20 '20 23:10 unfa

Hmm must disable expressions in that node...

RodZill4 avatar Oct 21 '20 07:10 RodZill4

Not sure why it crashed, it should just fail to apply the parameter...

@unfa The last dev build should have a fix for this.

RodZill4 avatar Oct 21 '20 20:10 RodZill4