- File:
-
- 1 edited
-
src/Actions/AtomAction/ChangeElementAction.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/AtomAction/ChangeElementAction.cpp
r952f38 re5c0a1 12 12 #include "atom.hpp" 13 13 #include "element.hpp" 14 #include " Helpers/Log.hpp"15 #include " LinearAlgebra/Vector.hpp"16 #include " Helpers/Verbose.hpp"14 #include "log.hpp" 15 #include "vector.hpp" 16 #include "verbose.hpp" 17 17 #include "World.hpp" 18 18 … … 24 24 #include "UIElements/UIFactory.hpp" 25 25 #include "UIElements/Dialog.hpp" 26 #include " Actions/ValueStorage.hpp"26 #include "UIElements/ValueStorage.hpp" 27 27 28 28 const char AtomChangeElementAction::NAME[] = "change-element"; … … 50 50 Action::state_ptr AtomChangeElementAction::performCall() { 51 51 atom *first = NULL; 52 element *elemental = NULL;52 const element *elemental = NULL; 53 53 54 54 ValueStorage::getInstance().queryCurrentValue(NAME, elemental); … … 56 56 for (World::AtomSelectionIterator iter = World::getInstance().beginAtomSelection(); iter != World::getInstance().endAtomSelection(); ++iter) { 57 57 first = iter->second; 58 DoLog(1) && (Log() << Verbose(1) << "Changing atom " << *first << " to element " << elemental->symbol << "." << endl);58 DoLog(1) && (Log() << Verbose(1) << "Changing atom " << *first << " to element " << *elemental << "." << endl); 59 59 first->type = elemental; 60 60 }
Note:
See TracChangeset
for help on using the changeset viewer.
