Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] Crash dump when edit one of my materials
09-09-2015, 11:50 PM (This post was last modified: 09-10-2015 04:59 AM by micheus.)
Post: #1
[fixed] Crash dump when edit one of my materials
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}]}]
Reply
09-10-2015, 04:14 AM (This post was last modified: 09-10-2015 04:14 AM by micheus.)
Post: #2
RE: Crash dump when edit one of my materials
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.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
09-10-2015, 04:31 AM
Post: #3
RE: [Micheus] Crash dump when edit one of my materials
Micheus,
That was it. I can edit that material now. Hopefully that is the last of the range issues for YafaRay... Smile

Thanks!,
oort
Reply
09-10-2015, 04:59 AM
Post: #4
RE: [Micheus] Crash dump when edit one of my materials
Thanks for test it.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)