Menu

#1016 Pseudo-atom handling

master
closed
5
2012-10-08
2009-11-23
Nils Kriege
No

I observed some glitches after having converted an atom to a pseudo-atom (* or R):

  1. All new atoms become pseudo-atoms (displayed with the right symbol, but without correct color). This problem occures after selecting a normal atom from the lower bar. (ChangeAtomSymbolAction)

  2. When creating a new atom and bond via AddAtomModule (by clicking on an existing atom + drag) the existing atom is converted to a pseudo atom instead of the new one. (AddAtomModule)

  3. AddBondDragModule does not create pseudo atoms but normal atoms with symbol */R. (ControllerHub)

I fixed this issues the quick (and possibly dirty) way and attached my changes.

Discussion

  • Nils Kriege

    Nils Kriege - 2009-11-23
     
  • Stefan Kuhn

    Stefan Kuhn - 2009-11-27

    Bug is fixed: the current SVN version no longer has this
    problem.

     
  • Stefan Kuhn

    Stefan Kuhn - 2009-11-27

    Many thanks for observing these problems. I think your patches are just right. I will think about the changes to the controllerHub, because the actions there should probably not read controllerModel, but be self contained.