![]() |
Scene Info crashing on a flattened cube (4 edges collapsed) - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6) +--- Thread: Scene Info crashing on a flattened cube (4 edges collapsed) (/showthread.php?tid=889) |
Scene Info crashing on a flattened cube (4 edges collapsed) - ggaliens - 09-25-2014 Not at all sure what is actually calling math:log10. But this happens when applying tools/scene-info for a flat object (flatten a cube). Code: Dump written 2014-9-25_13-52 Is it possible for one row in call-stack shown above to be "missing" for some reason ? Or is the call stack in the crash_dump always fairly complete ? Is it possible for one row in call-stack shown above to be "missing" for some reason ? Or is the call stack in the crash_dump always fairly complete ? Micheus ... I'm thinking you might have change the formatting logic ? math:log10 function will get really nasty for small numbers near zero. Micheus ... I'm thinking you might have change the formatting logic ? math:log10 function will get really nasty for small numbers near zero. Maybe we could just make this a wings_prefs item and leave the fancy logic out ? RE: Scene Info crashing on a flattened cube (4 edges collapsed) - ggaliens - 09-25-2014 OK ... Micheus ... I have made a bad assumption here ... maybe you didn't put in there the math:log10 Nevertheless ... that code needs a special fix near ZERO. Anybody ? I'd advocate for a dialog item for the precision ... maybe not even a prefs ... maybe just an dialog item right inside the existing dialog ? The oddball decimal crafty code should be reverted. Dan ... toss down a better idea and I'll try coding, branch, pull request. RE: Scene Info crashing on a flattened cube (4 edges collapsed) - ggaliens - 09-27-2014 OK . I have something to submit here via github / pullrequest. I have created a preference. Will submit after a few more tests. |