Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/AtomAction/ChangeElementAction.cpp

    r952f38 re5c0a1  
    1212#include "atom.hpp"
    1313#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"
    1717#include "World.hpp"
    1818
     
    2424#include "UIElements/UIFactory.hpp"
    2525#include "UIElements/Dialog.hpp"
    26 #include "Actions/ValueStorage.hpp"
     26#include "UIElements/ValueStorage.hpp"
    2727
    2828const char AtomChangeElementAction::NAME[] = "change-element";
     
    5050Action::state_ptr AtomChangeElementAction::performCall() {
    5151  atom *first = NULL;
    52   element *elemental = NULL;
     52  const element *elemental = NULL;
    5353
    5454  ValueStorage::getInstance().queryCurrentValue(NAME, elemental);
     
    5656  for (World::AtomSelectionIterator iter = World::getInstance().beginAtomSelection(); iter != World::getInstance().endAtomSelection(); ++iter) {
    5757    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);
    5959    first->type = elemental;
    6060  }
Note: See TracChangeset for help on using the changeset viewer.