Menu

#45 Grid Zoom Out Hang

closed-fixed
Modeling (29)
7
2006-06-22
2005-07-07
No

Reproduce:
New Database
Draw Grid
Zoom out quickly with left mouse button
mged hangs

Discussion

  • Anonymous

    Anonymous - 2005-07-07

    Logged In: YES
    user_id=356679

    *Repeatedly zoom out - quickly

     
  • Sean Morrison

    Sean Morrison - 2005-07-07

    Logged In: YES
    user_id=785737

    I don't see this behavior here. Which operating system are you using?
    Also, if you run mged in classic mode, does it still hang?

    To run in classic mode, run mged -c file.g and select X as the display
    type. There will be no menus but all of the mouse controls and commands
    are otherwise the same.

     
  • Anonymous

    Anonymous - 2005-09-25

    Logged In: YES
    user_id=1175630

    same problem

    start , open new database , turn on grid
    and zoom out (5 or 6 rapid left mouse clicks )

    o/s is suse 9.3 running kde v3.4

    as to if it still locks up in classic mode ?
    don't know how to turn on the grid in classic mode

    Dave

     
  • Lee Butler

    Lee Butler - 2006-01-13
    • priority: 5 --> 7
     
  • Lee Butler

    Lee Butler - 2006-01-14

    Logged In: YES
    user_id=1179270

    I can reproduce this.

    mged asdf.g
    mged> in ball sph 0 0 0 1
    Settings->Grid->Draw Grid
    zooming out to 2048 caused a hang

    mged asdf.g
    mged> in ball sph 0 0 0 1024
    Settings->Grid->Draw Grid
    zooming out to 2097152 caused a hang.

    So it seems to be a problem of relative zooming when grid is on. I didn't find
    this to be related to the speed of zooming.

    Turning the grid off causes the bug to disappear, so this is definitely in the
    grid handling code.

     
  • John Anderson

    John Anderson - 2006-06-22
    • assigned_to: nobody --> johnranderson
    • status: open --> closed-fixed
     
  • John Anderson

    John Anderson - 2006-06-22

    Logged In: YES
    user_id=1185553

    The problem was in the calculations used to decide when to
    not draw the grid. Integer overflow was the culprit. I added
    a check for a negative result. This will eliminate the hang,
    but a better algorithm is needed here.

     

Log in to post a comment.