Ignore:
File:
1 edited

Legend:

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

    rb5b01e r833b15  
    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);
    7069    molecules.push_back(copy->getId());
    7170  }
Note: See TracChangeset for help on using the changeset viewer.