Wings 3D Development Forum
[fixed] Wings3D Light Crashes - 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] Wings3D Light Crashes (/showthread.php?tid=1336)



[fixed] Wings3D Light Crashes - oort - 08-21-2015

If I edit the Diffuse color of an Area light I get a crash. See below.
All other lights simply fail to change color.

oort

Dump written 2015-8-21_16-29
Version: 2.0
Window: geom
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{wings_light,shape_materials,
[{light,area,
{0.5019607843137255,0.11764705882352941,0.3176470588235294},
{0.0,0.0,0.0,1.0},
{1.0,1.0,1.0,1.0},
{0.0,0.0,0.0},
0.0,0.0,30.0,0.0,
[{yafaray,[{power,30.0}]},
{povray36,
[{media_interaction,true},
{media_attenuation,false},
{refraction,true},
{reflection,true},
{size_1,2},
{orient,false},
{shadows,true},
{photons,false},
{light_power,1.0},
{fade_power,0.0},
{size_2,2},
{jitter,false},
{circular,false},
{fade_distance,1.0},
{adaptive,none}]},
{kerkythea,[{light_power,1.0},{area_visible,true}]},
{visible,true},
{locked,false}]},
{st,{1,
{1,
{we,1,0,"area1",
{array,4,10,undefined,
{{edge,0,1,1,-1,2,1,1,2},
{edge,0,3,-1,1,3,0,0,3},
{edge,1,2,1,-1,3,0,0,3},
{edge,2,3,1,-1,1,2,2,1},
undefined,undefined,undefined,undefined,undefined,
undefined}},
none,none,
{2,{1,0,{-1,0,nil,nil},nil}},
{0,nil},
{array,4,10,undefined,
{0,0,2,1,undefined,undefined,undefined,undefined,
undefined,undefined}},
{array,4,10,undefined,
{{1.0,3.0,1.0},
{-1.0,3.0,1.0},
{-1.0,3.0,-1.0},
{1.0,3.0,-1.0},
undefined,undefined,undefined,undefined,undefined,
undefined}},
{1,{wings_shape,no_folder,nil,nil}},
[{-1,default},{1,default}],
4,none,
{light,area,
{0.5019607843137255,0.11764705882352941,
0.3176470588235294},
{0.0,0.0,0.0,1.0},
{1.0,1.0,1.0,1.0},
{0.0,0.0,0.0},
0.0,0.0,30.0,0.0,
[{yafaray,[{power,30.0}]},
{povray36,
[{media_interaction,true},
{media_attenuation,false},
{refraction,true},
{reflection,true},
{size_1,2},
{orient,false},
{shadows,true},
{photons,false},
{light_power,1.0},
{fade_power,0.0},
{size_2,2},
{jitter,false},
{circular,false},
{fade_distance,1.0},
{adaptive,none}]},
{kerkythea,[{light_power,1.0},{area_visible,true}]},
{visible,true},
{locked,false}]},
[-1]},
nil,nil}},
face,true,[],
{0,nil},
none,
{1,
{default,
[{maps,[]},
{opengl,
[{ambient,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{diffuse,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{shininess,0.0},
{specular,{0.0,0.0,0.0,1.0}},
{vertex_colors,set}]}],
nil,nil}},
[],undefined,false,2,none,none,
{0,{}},
{1,
{wings_shape,
{no_folder,[{no_folder,{open,{1,{1,nil,nil}}}}]},
nil,nil}},
ignore,none,none,
{ignore,ignore},
{light,{edit,1}},
{[{est,
[{we,1,0,"area1",
{array,4,10,undefined,
{{edge,0,1,1,-1,2,1,1,2},
{edge,0,3,-1,1,3,0,0,3},
{edge,1,2,1,-1,3,0,0,3},
{edge,2,3,1,-1,1,2,2,1},
undefined,undefined,undefined,undefined,undefined,
undefined}},
none,none,undefined,
{0,nil},
undefined,
{array,4,10,undefined,
{{1.0,3.0,1.0},
{-1.0,3.0,1.0},
{-1.0,3.0,-1.0},
{1.0,3.0,-1.0},
undefined,undefined,undefined,undefined,undefined,
undefined}},
{1,{wings_shape,no_folder,nil,nil}},
[{-1,default},{1,default}],
4,none,
{light,area,
{1.0,1.0,1.0,1.0},
{0.0,0.0,0.0,1.0},
{1.0,1.0,1.0,1.0},
{0.0,0.0,0.0},
0.0,0.0,30.0,0.0,[]},
[-1]}],
face,[],2,
{1,
{default,
[{maps,[]},
{opengl,
[{ambient,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{diffuse,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{shininess,0.0},
{specular,{0.0,0.0,0.0,1.0}},
{vertex_colors,set}]}],
nil,nil}},
{1,
{wings_shape,
{no_folder,[{no_folder,{open,{1,{1,nil,nil}}}}]},
nil,nil}},
{shape,{light,area}},
undefined}],
[{est,[],face,[],1,
{1,
{default,
[{maps,[]},
{opengl,
[{ambient,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{diffuse,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{shininess,0.0},
{specular,{0.0,0.0,0.0,1.0}},
{vertex_colors,set}]}],
nil,nil}},
{1,{wings_shape,{no_folder,[]},nil,nil}},
empty_scene,undefined}]},
true,[]}],
[{file,"wings_light.erl"},{line,994}]},
{wings_draw,'-build_dlists/1-fun-0-',2,[{file,"wings_draw.erl"},{line,302}]},
{wings_dl,map_1,5,[{file,"wings_dl.erl"},{line,223}]},
{wings_draw,refresh_dlists,1,[{file,"wings_draw.erl"},{line,49}]},
{wings,main_loop,1,[{file,"wings.erl"},{line,309}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,931}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,903}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,767}]}]


RE: Wings3D Light Crashes - dgud - 08-26-2015

Fixed in commit 633ad20