Wings 3D Development Forum

Full Version: [fixed] (MacOS 14:W3Dv2.2.1) Crash when more and more zoom up
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I found this bug with unconscious operation.
Just turn the mouse wheel and zoom up towards the origin.
Even you continue to zoom up if the xyz axis disappears, it will crash.

This time no objects in 3D Geometry window.

Code:
Dump written 2018-12-3_12-55
Version: 2.2.1
OS: Mac OS X (Darwin 18.2.0 x86_64)
GPU: Intel Inc. | Intel(R) Iris(TM) Pro Graphics 6200
Window: geom
Reason: {badarith,[{math,log,[-7.751640039368735e-4],[]},
                   {wings_render,groundplane,4,
                                 [{file,"wings_render.erl"},{line,849}]},
                   {wings_render,ground_and_axes,3,
                                 [{file,"wings_render.erl"},{line,644}]},
                   {wings_render,render,1,
                                 [{file,"wings_render.erl"},{line,50}]},
                   {wings,'-redraw/2-fun-0-',2,
                          [{file,"wings.erl"},{line,269}]},
                   {wx,batch,1,[{file,"wx.erl"},{line,184}]},
                   {wings,handle_event_3,2,[{file,"wings.erl"},{line,424}]},
                   {wings_wm,handle_event,3,
                             [{file,"wings_wm.erl"},{line,981}]},
                   {wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,948}]},
                   {wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,849}]},
                   {wings_wm,redraw_win,1,[{file,"wings_wm.erl"},{line,890}]},
                   {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
                   {wings_wm,redraw_all,0,[{file,"wings_wm.erl"},{line,865}]},
                   {wings,init_part2,2,[{file,"wings.erl"},{line,106}]},
                   {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,247}]}]}

Best Regards!
This is not mac related happens on all OS's.