Ignore:
File:
1 edited

Legend:

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

    rbe21fa rf10b0c  
    3838/** =========== define the function ====================== */
    3939Action::state_ptr SelectionNotAtomByIdAction::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  SelectionNotAtomByIdState *state = assert_cast<SelectionNotAtomByIdState*>(_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().selectAtom(Walker);
    6060
     
    6565  SelectionNotAtomByIdState *state = assert_cast<SelectionNotAtomByIdState*>(_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().unselectAtom(Walker);
    6969
Note: See TracChangeset for help on using the changeset viewer.