Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[Fixed] Octotoad makes crash when to set Height 0.0 less.
11-07-2016, 10:11 PM (This post was last modified: 11-09-2016 08:16 PM by dgud.)
Post: #1
[Fixed] Octotoad makes crash when to set Height 0.0 less.
On Wings3D v2.1.2, I test set 0.0 value for all Primitives in their dialog.
Octotoad only crashed when set Height to 0.0 or negative value.

The crash log is here.
Quote:Dump written 2016-11-7_22-6
Version: 2.1.2
Window: geom
Reason: badarith

Short stack trace:
[]

Long stack trace:
[{wings_shapes,'-octotoad/2-lc$^0/1-0-',2,
[{file,"wings_shapes.erl"},{line,172}]},
{wings_shapes,octotoad,2,[{file,"wings_shapes.erl"},{line,172}]},
{wings,command_1,2,[{file,"wings.erl"},{line,734}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,79}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,617}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,935}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,901}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,807}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,709}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,630}]},
{wings,init,1,[{file,"wings.erl"},{line,143}]}]
Reply
11-09-2016, 08:18 PM
Post: #2
RE: [Fixed] Octotoad makes crash when to set Height 0.0 less.
Hmm the height parameter was backwards as well.
Instead of Scale*Pos it was Pos/Scale, so a higher height caused it to be smaller.
And a height of zero became a division by zero.

Fixed.
Reply
11-11-2016, 09:22 AM
Post: #3
RE: [Fixed] Octotoad makes crash when to set Height 0.0 less.
I see, Thank you for your quick fix.
Reply


Forum Jump:


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