- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/TranslateAction.cpp
r066442 r329cf3 56 56 57 57 // static instances 58 ActionSequence MoleculeTranslateAction:: actions;58 ActionSequence MoleculeTranslateAction::prototype_actions; 59 59 bool MoleculeTranslateAction::isPrepared = false; 60 60 … … 63 63 // we simply have to select all the molecule's atoms and use the respective 64 64 // translate Action 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")));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"))); 69 69 isPrepared = true; 70 70 } … … 73 73 { 74 74 // empty sequence 75 while ( actions.removeLastAction() != NULL);75 while (prototype_actions.removeLastAction() != NULL); 76 76 isPrepared = false; 77 77 }
Note:
See TracChangeset
for help on using the changeset viewer.