Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Scene Info Crashes ...
09-27-2014, 05:18 PM (This post was last modified: 09-27-2014 05:22 PM by ggaliens.)
Post: #1
Scene Info Crashes ...
Tools / Scene Info ... I think there are TWO way that this dialog can CRASH ... this video depicts 1 way that it can crash. I'm working on a new version of scene info that does not use math:log10 on ZERO or small numbers since that is bad. But just for the record ... the other bug I may need some help with it ... Dan ... Micheus ... any thoughs on the clicking too fast bug ?

I'll see if it can be reproduced in other table based windows.
Edit: yes ... it does happen in other windows


https://www.youtube.com/watch?v=kW0Vst1vFoo
Reply
09-27-2014, 06:25 PM
Post: #2
RE: Scene Info Crashes ...
I would like to move forward with the branch I have recently pushed with a pull-request ... even if it takes me a few tries to get "accepted".

I think using prefs as shown is far superior to using math:log10.

The defaults should create a very nicely aligned display. I don't think a mono-spaced font is used here ... but I think that it all still lines up pretty nice with a bit of text based justification I'm employing.
Reply
03-10-2015, 04:25 PM (This post was last modified: 03-10-2015 04:46 PM by TulipVorlax.)
Post: #3
RE: Scene Info Crashes ...
I was about to submit a bug for this, then i saw your post.
I have a dump :
Code:
Long stack trace:
[{math,log10,[0.0],[]},
{wings,'-get_object_info/2-fun-0-',1,[{file,"wings.erl"},{line,1838}]},
{lists,map,2,[{file,"lists.erl"},{line,1224}]},
{lists,map,2,[{file,"lists.erl"},{line,1224}]},
{wings,get_object_info,2,[{file,"wings.erl"},{line,1850}]},
{wings,'-area_volume_info/1-lc$^0/1-0-',2,[{file,"wings.erl"},{line,1818}]},
{wings,'-area_volume_info/1-lc$^0/1-0-',2,[{file,"wings.erl"},{line,1818}]},
{wings,area_volume_info,1,[{file,"wings.erl"},{line,1818}]}]

So this confirm that the log10 function fail in some circonstances.
Thanks for working on it.

EDIT :
It seems that it was really because an object in the scene had an height of zero.
Removing it solve the problem.
It can be reproduced by extracting a face of a cube.

My websites (in french) :
MainBlogShared gallery3D Wiki (WIP)
Reply


Forum Jump:


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