Wings 3D Development Forum
[fixed] Empty Anti-Aliasing group in Preferences - 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] Empty Anti-Aliasing group in Preferences (/showthread.php?tid=1439)



[fixed] Empty Anti-Aliasing group in Preferences - micheus - 10-30-2015

The Anti-Aliasing groupbox is empty and in the Console window we get this crash message:
Code:
wings_dialog:1237: Unhandled ask=no_preview, {"Enable Multi-Sampling",
                                              {text,undefined,
                                               [{key,multisample},
                                                {info,[...]}]},
                                              []}
  From: {current_stacktrace,
            [{wings_dialog,build,5,[{file,"wings_dialog.erl"},{line,1237}]},
             {lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
             {wings_dialog,build_box,7,
                 [{file,"wings_dialog.erl"},{line,1257}]},
             {lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
             {wings_dialog,build_box,7,
                 [{file,"wings_dialog.erl"},{line,1257}]},
             {wings_dialog,'-build/5-fun-4-',4,
                 [{file,"wings_dialog.erl"},{line,827}]},
             {lists,foldl,3,[{file,"lists.erl"},{line,1262}]}]}
I checked the preferences and it contains: {multisample,undefined}.
It doesn't matter if I use a fresh Preferences file or if I edit it and set the value to false/true.


RE: Empty Anti-Aliasing group in Preferences - micheus - 10-30-2015

I found that wings_render:init_multisample() was setting it to undefined if multisample is not supported by the video card.