Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/TranslateAction.cpp

    r329cf3 r066442  
    5656
    5757// static instances
    58 ActionSequence MoleculeTranslateAction::prototype_actions;
     58ActionSequence MoleculeTranslateAction::actions;
    5959bool MoleculeTranslateAction::isPrepared = false;
    6060
     
    6363  // we simply have to select all the molecule's atoms and use the respective
    6464  // translate Action
    65   prototype_actions.addAction(AR.getActionByName(std::string("push-atom-selection")));
    66   prototype_actions.addAction(AR.getActionByName(std::string("select-molecules-atoms")));
    67   prototype_actions.addAction(AR.getActionByName(std::string("translate-atoms")));
    68   prototype_actions.addAction(AR.getActionByName(std::string("pop-atom-selection")));
     65  actions.addAction(AR.getActionByName(std::string("push-atom-selection")));
     66  actions.addAction(AR.getActionByName(std::string("select-molecules-atoms")));
     67  actions.addAction(AR.getActionByName(std::string("translate-atoms")));
     68  actions.addAction(AR.getActionByName(std::string("pop-atom-selection")));
    6969  isPrepared = true;
    7070}
     
    7373{
    7474  // empty sequence
    75   while (prototype_actions.removeLastAction() != NULL);
     75  while (actions.removeLastAction() != NULL);
    7676  isPrepared = false;
    7777}
Note: See TracChangeset for help on using the changeset viewer.