fix warning

This commit is contained in:
wmayer 2016-08-16 15:24:33 +02:00
parent 0023758263
commit 58bf4ca455

View File

@ -446,7 +446,7 @@ void QGIViewDimension::draw()
norm = Base::Vector3d (-dir.y,dir.x, 0); //normal to dimension direction
// Get magnitude of angle between dir and horizontal
float angle = atan2f(dir.y,dir.x);
double angle = atan2f(dir.y,dir.x);
if (angle < 0.0) {
angle = 2 * M_PI + angle; //map to +ve angle
}