Changes in src/Atom/atom.cpp [c32d21:8cc22f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom.cpp
rc32d21 r8cc22f 270 270 removeFromMolecule(); 271 271 mol = _mol; 272 if ((mol) && (!mol->containsAtom(this))) { 273 signOn(mol, AtomObservable::PositionChanged); 272 if ((mol) && (!mol->containsAtom(this))) 274 273 mol->insert(this); 275 }276 274 } 277 275 … … 281 279 ASSERT(!mol->containsAtom(this), 282 280 "atom::unsetMolecule() - old molecule "+toString(mol)+" still contains us!"); 283 signOff(mol, AtomObservable::PositionChanged);284 281 mol = NULL; 285 282 } … … 292 289 if(mol){ 293 290 if(mol->containsAtom(this)){ 294 signOff(mol, AtomObservable::PositionChanged);295 291 mol->erase(this); 296 292 }
Note:
See TracChangeset
for help on using the changeset viewer.