- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/CopyAction.cpp
r833b15 rb5b01e 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); 69 70 molecules.push_back(copy->getId()); 70 71 }
Note:
See TracChangeset
for help on using the changeset viewer.