X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fmanipulator.cpp;h=f4e75e7f40d2a512c24549af65b65f085e9f7a59;hb=f42183985c65e1e12f19e9246dee90b8e7e44a34;hp=1f21430737c6c2f7d9dcda85869c02cddd1847da;hpb=03aa7d090507e40f6362cd242d711de4bbba8f18;p=r2c2.git diff --git a/source/designer/manipulator.cpp b/source/designer/manipulator.cpp index 1f21430..f4e75e7 100644 --- a/source/designer/manipulator.cpp +++ b/source/designer/manipulator.cpp @@ -8,6 +8,7 @@ Distributed under the GPL #include #include #include +#include #include "3d/layout.h" #include "libmarklin/tracktype.h" #include "designer.h" @@ -18,8 +19,6 @@ using namespace std; using namespace Marklin; using namespace Msp; -#include - Manipulator::Manipulator(Designer &d): designer(d), selection(0), @@ -327,10 +326,7 @@ void Manipulator::pointer_motion(int, int y, float gx, float gy) { float dz = (y-elev_origin)/1000.; - ostringstream ss; - ss.precision(3); - ss<<"Elevation: "<::iterator i=tracks.begin(); i!=tracks.end(); ++i)