Wings 3D Development Forum
[fixed] Crash dump when edit one of my materials - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: [fixed] Crash dump when edit one of my materials (/showthread.php?tid=1362)



[fixed] Crash dump when edit one of my materials - oort - 09-09-2015

I get the crash dump listed below when I try to edit one of my materials in a file. The crash happens after clicking Edit Material... I can edit all other materials in the file. May have something to do with a yafaRay material setting???

Thanks,
oort

Dump written 2015-9-9_19-43
Version: 2.0.1
Window: geom
Reason: {function_clause,
[{wings_dialog,slider_style,
[10.0,{-5.0,5.0}],
[{file,"wings_dialog.erl"},{line,1410}]},
{wings_dialog,create_slider,6,
[{file,"wings_dialog.erl"},{line,1366}]},
{wings_dialog,build,5,[{file,"wings_dialog.erl"},{line,906}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
{wings_dialog,build_box,7,
[{file,"wings_dialog.erl"},{line,1236}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
{wings_dialog,build_box,7,
[{file,"wings_dialog.erl"},{line,1236}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1262}]}]}

Short stack trace:
[]

Long stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,182}]},
{wings_dialog,dialog,5,[{file,"wings_dialog.erl"},{line,256}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,81}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,641}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,932}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,903}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,767}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,659}]}]


RE: Crash dump when edit one of my materials - micheus - 09-10-2015

oort, I thought I already read this before. I searched it here and I realize that we had talked about that by email during your previous tests. Smile
Quote:I saw that the only range {-5.0,5.0} you are using if for modulation

the line [10.0,{-5.0,5.0}] suggest the initial value is 10.0 that is out of range. For a new material the initial value is given by ?DEF_MOD_DIFFUSE that is set to 1.0.
But, it was my fault.
In that moment I did a workaround to set the out of range value to the max value allowed, but unfortunately I didn't apply it for other two variable. Blush

I just updated the .beam file linked in the plugins section. Please, check if it's OK now.


RE: [Micheus] Crash dump when edit one of my materials - oort - 09-10-2015

Micheus,
That was it. I can edit that material now. Hopefully that is the last of the range issues for YafaRay... Smile

Thanks!,
oort


RE: [Micheus] Crash dump when edit one of my materials - micheus - 09-10-2015

Thanks for test it.