Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Scene Info crashing on a flattened cube (4 edges collapsed)
09-25-2014, 05:55 PM (This post was last modified: 09-25-2014 06:05 PM by ggaliens.)
Post: #1
Scene Info crashing on a flattened cube (4 edges collapsed)
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
Version: 1.5.3
Window: geom
Reason: badarith

Short stack trace:
[]

Long stack trace:
[{math,log10,[0.0],[]},
{wings,'-get_object_info/2-fun-0-',1,[{file,"wings.erl"},{line,1855}]},
{lists,map,2,[{file,"lists.erl"},{line,1237}]},
{lists,map,2,[{file,"lists.erl"},{line,1237}]},
{wings,get_object_info,2,[{file,"wings.erl"},{line,1867}]},
{wings,'-area_volume_info/1-lc$^0/1-0-',2,[{file,"wings.erl"},{line,1835}]},
{wings,area_volume_info,1,[{file,"wings.erl"},{line,1835}]},
{wings,command_1,2,[{file,"wings.erl"},{line,857}]}]

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 ?
Reply


Messages In This Thread
Scene Info crashing on a flattened cube (4 edges collapsed) - ggaliens - 09-25-2014 05:55 PM

Forum Jump:


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