Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Atom/atom.cpp

    r270bdf rceaab1  
    264264  // first we move ourselves in the world
    265265  // the world lets us know if that succeeded
     266  atomId_t oldid = id;
    266267  if(world->changeAtomId(id,newId,this)){
    267268    OBSERVE;
    268269    id = newId;
     270    if (mol != NULL)
     271      mol->changeAtomId(oldid, newId);
    269272    NOTIFY(IndexChanged);
    270273    return true;
Note: See TracChangeset for help on using the changeset viewer.