Current stable version: 0.1.1

Blender crashes on blend material

Project:YafaRay
Version:0.1.x
Component:Code
Category:bug report
Priority:normal
Assigned:Kerbox
Status:fixed
Description

I got Blender crash if I have a blend material and use a texture to blend materials together. One of the materials also uses a texture and the crash is happening if I use blend value 0, if higher then that, it works fine. The crash is happening while refreshing Material Preview and while rendering. 

Check the file below

AttachmentSize
Blend_material_issue.blend295.51 KB

Comments

#1

Assigned to:Anonymous» Kerbox
Status:active» ready to commit

Bugfix attached

AttachmentSize
bugfix_blendmat.diff 574 bytes

#2

Status:ready to commit» fixed

Patch reviewed and fixes the problem, wasn't included due to an overlap on the work, blend material was changed beyond that error during developent so this is a good fix and is part of the newly commited code

Just Vampires Playing To Be Mortals...
[color=#004000][b]---------{--<[/b][/color][color=#FF0000][b]@[/b][/color]