Changeset 0f9726 for src/Actions/UndoRedoHelpers.cpp
- Timestamp:
- Nov 7, 2017, 7:34:56 AM (8 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued_betteresults
- Children:
- 38ac25
- Parents:
- 5a289c
- git-author:
- Frederik Heber <frederik.heber@…> (08/03/17 10:46:48)
- git-committer:
- Frederik Heber <frederik.heber@…> (11/07/17 07:34:56)
- File:
-
- 1 edited
-
src/Actions/UndoRedoHelpers.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/UndoRedoHelpers.cpp
r5a289c r0f9726 219 219 } 220 220 221 void MoleCuilder::removeLastStep(const std::vector<atomId_t> &_atoms, const unsigned int _step) 222 { 223 for (size_t i=0; i<_atoms.size(); ++i) { 224 atom * const _atom = World::getInstance().getAtom(AtomById(_atoms[i])); 225 _atom->removeStep(_step); 221 void MoleCuilder::removeSteps( 222 const std::vector<atomId_t> &movedatoms, 223 const unsigned int _firststep, 224 const unsigned int _laststep) 225 { 226 for (std::vector<atomId_t>::const_iterator iter = movedatoms.begin(); 227 iter != movedatoms.end(); ++iter) { 228 atom * const _atom = World::getInstance().getAtom(AtomById(*iter)); 229 _atom->removeSteps(_firststep, _laststep); 226 230 } 227 231 }
Note:
See TracChangeset
for help on using the changeset viewer.
