Quirky navigation after multiple changeMolecule() calls

Bugs item #2791188, was opened at 2009-05-13 13:37
Message generated for change (Tracker Item Submitted) made by mr_grieves
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=2791188&group_id=165310

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Rendering
Group: v 0.9.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mr_Grieves (mr_grieves)
Assigned to: Marcus D. Hanwell (cryosuk)
Summary: Quirky navigation after multiple changeMolecule() calls

Initial Comment:
After calling changeMolecule more than once with different molecules, the glwidget will switch back to the first molecule when mouse navigation is used. Works fine with keyboard nav, though.

To replicate:

  1. grab and install the xtalopt extension: http://github.com/dlonie/avogadro-XtalOpt/tree/master
  2. Open the extension in avogadro
  3. fill in the composition line edit with a formula (something like c1h4)
  4. switch to the random optimization tab, click begin.
    Navigate the molecule that appears. All is normal.
  5. click begin a few more times to generate more molecules
    Try mouse navigation now. The molecule will revert to the first structure for the duration of the click event.

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=2791188&group_id=165310