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