- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/SelectionAction/Atoms/AtomByIdAction.cpp
rbe21fa rf10b0c 38 38 /** =========== define the function ====================== */ 39 39 Action::state_ptr SelectionAtomByIdAction::performCall() { 40 const atom *Walker = World::getInstance().getAtom(AtomById(params.WalkerId ));40 const atom *Walker = World::getInstance().getAtom(AtomById(params.WalkerId.get())); 41 41 if (Walker != NULL) { 42 42 if (!World::getInstance().isSelected(Walker)) { … … 56 56 SelectionAtomByIdState *state = assert_cast<SelectionAtomByIdState*>(_state.get()); 57 57 58 const atom *Walker = World::getInstance().getAtom(AtomById(state->params.WalkerId ));58 const atom *Walker = World::getInstance().getAtom(AtomById(state->params.WalkerId.get())); 59 59 World::getInstance().unselectAtom(Walker); 60 60 … … 65 65 SelectionAtomByIdState *state = assert_cast<SelectionAtomByIdState*>(_state.get()); 66 66 67 const atom *Walker = World::getInstance().getAtom(AtomById(state->params.WalkerId ));67 const atom *Walker = World::getInstance().getAtom(AtomById(state->params.WalkerId.get())); 68 68 World::getInstance().selectAtom(Walker); 69 69
Note:
See TracChangeset
for help on using the changeset viewer.