- File:
-
- 1 edited
-
src/Actions/WorldAction/ScaleBoxAction.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/ScaleBoxAction.cpp
rd74077 r952f38 11 11 #include "Actions/ActionRegistry.hpp" 12 12 #include "atom.hpp" 13 #include " log.hpp"14 #include " vector.hpp"15 #include " verbose.hpp"13 #include "Helpers/Log.hpp" 14 #include "LinearAlgebra/Vector.hpp" 15 #include "Helpers/Verbose.hpp" 16 16 #include "World.hpp" 17 17 #include "Box.hpp" 18 #include " Matrix.hpp"18 #include "LinearAlgebra/Matrix.hpp" 19 19 20 20 #include <iostream> … … 25 25 #include "UIElements/UIFactory.hpp" 26 26 #include "UIElements/Dialog.hpp" 27 #include " UIElements/ValueStorage.hpp"27 #include "Actions/ValueStorage.hpp" 28 28 29 29 const char WorldScaleBoxAction::NAME[] = "scale-box"; … … 41 41 }; 42 42 43 Dialog* WorldScaleBoxAction:: createDialog() {44 Dialog *dialog = UIFactory::getInstance().makeDialog();43 Dialog* WorldScaleBoxAction::fillDialog(Dialog *dialog) { 44 ASSERT(dialog,"No Dialog given when filling action dialog"); 45 45 46 46 dialog->queryVector(NAME, false, ValueStorage::getInstance().getDescription(NAME)); … … 60 60 vector<atom*> AllAtoms = World::getInstance().getAllAtoms(); 61 61 for(vector<atom*>::iterator AtomRunner = AllAtoms.begin(); AtomRunner != AllAtoms.end(); ++AtomRunner) { 62 (*AtomRunner)-> ScaleAll(x);62 (*AtomRunner)->x.ScaleAll(x); 63 63 } 64 64
Note:
See TracChangeset
for help on using the changeset viewer.
