AtomIterators.cpp (pymol-open-source-2.2.0) | : | AtomIterators.cpp (pymol-open-source-2.3.0) | ||
---|---|---|---|---|
skipping to change at line 98 | skipping to change at line 98 | |||
} | } | |||
SelectorUpdateTable(G, statearg, sele_); | SelectorUpdateTable(G, statearg, sele_); | |||
setPerObject(false); | setPerObject(false); | |||
reset(); | reset(); | |||
} | } | |||
void SeleCoordIterator::reset() { | void SeleCoordIterator::reset() { | |||
a = cNDummyAtoms - 1; | a = cNDummyAtoms - 1; | |||
state = statearg; | state = statearg; | |||
prev_obj = NULL; | prev_obj = nullptr; | |||
cs = NULL; | cs = nullptr; | |||
if (isMultistate()) { | if (isMultistate()) { | |||
state = 0; | state = 0; | |||
statemax = 0; | statemax = 0; | |||
} | } | |||
} | } | |||
/* | /* | |||
* advance the internal state to the next atom, return false if there is no | * advance the internal state to the next atom, return false if there is no | |||
* next atom | * next atom | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |