+ fix various warnings with VC12

This commit is contained in:
wmayer
2016-04-16 12:02:58 +02:00
parent a8d37dabbe
commit dfa5972b4b
7 changed files with 10 additions and 5 deletions

View File

@@ -129,7 +129,7 @@ void ViewProviderDatumCoordinateSystem::attach ( App::DocumentObject *obj ) {
getShapeRoot ()->addChild(axisLabelYToZTrans);
SoRotation *rot = new SoRotation();
rot->rotation = SbRotation(SbVec3f(1,1,1), 2*M_PI/3);
rot->rotation = SbRotation(SbVec3f(1,1,1), static_cast<float>(2*M_PI/3));
getShapeRoot ()->addChild(rot);
t = new SoAsciiText();
t->string = "Z";