Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Atom/atom.cpp

    rc32d21 r8cc22f  
    270270  removeFromMolecule();
    271271  mol = _mol;
    272   if ((mol) && (!mol->containsAtom(this))) {
    273     signOn(mol, AtomObservable::PositionChanged);
     272  if ((mol) && (!mol->containsAtom(this)))
    274273    mol->insert(this);
    275   }
    276274}
    277275
     
    281279  ASSERT(!mol->containsAtom(this),
    282280      "atom::unsetMolecule() - old molecule "+toString(mol)+" still contains us!");
    283   signOff(mol, AtomObservable::PositionChanged);
    284281  mol = NULL;
    285282}
     
    292289  if(mol){
    293290    if(mol->containsAtom(this)){
    294       signOff(mol, AtomObservable::PositionChanged);
    295291      mol->erase(this);
    296292    }
Note: See TracChangeset for help on using the changeset viewer.