- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/CopyAction.cpp
rb5b01e r833b15 63 63 iter != World::getInstance().endMoleculeSelection(); ++iter) { 64 64 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(); 68 68 copy->Translate(Center); 69 delete(Center);70 69 molecules.push_back(copy->getId()); 71 70 }
Note:
See TracChangeset
for help on using the changeset viewer.