Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/SelectionAction/Atoms/AtomByIdAction.cpp

    rbe21fa rf10b0c  
    3838/** =========== define the function ====================== */
    3939Action::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()));
    4141  if (Walker != NULL) {
    4242    if (!World::getInstance().isSelected(Walker)) {
     
    5656  SelectionAtomByIdState *state = assert_cast<SelectionAtomByIdState*>(_state.get());
    5757
    58   const atom *Walker = World::getInstance().getAtom(AtomById(state->params.WalkerId));
     58  const atom *Walker = World::getInstance().getAtom(AtomById(state->params.WalkerId.get()));
    5959  World::getInstance().unselectAtom(Walker);
    6060
     
    6565  SelectionAtomByIdState *state = assert_cast<SelectionAtomByIdState*>(_state.get());
    6666
    67   const atom *Walker = World::getInstance().getAtom(AtomById(state->params.WalkerId));
     67  const atom *Walker = World::getInstance().getAtom(AtomById(state->params.WalkerId.get()));
    6868  World::getInstance().selectAtom(Walker);
    6969
Note: See TracChangeset for help on using the changeset viewer.