Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/CopyAction.cpp

    r833b15 rb5b01e  
    6363      iter != World::getInstance().endMoleculeSelection(); ++iter) {
    6464    molecule * const copy = (iter->second)->CopyMolecule();
    65     Vector Center = (iter->second)->DetermineCenterOfAll();
    66     Center *= -1.;
    67     Center += params.position.get();
     65    Vector *Center = (iter->second)->DetermineCenterOfAll();
     66    *Center *= -1.;
     67    *Center += params.position.get();
    6868    copy->Translate(Center);
     69    delete(Center);
    6970    molecules.push_back(copy->getId());
    7071  }
Note: See TracChangeset for help on using the changeset viewer.