+ fix some issues

This commit is contained in:
wmayer 2014-03-15 12:36:07 +01:00
parent b7cb49c3e3
commit 23462b70d1
3 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning( disable : 4700 ) #pragma warning( disable : 4700 )
#pragma warning( disable : 4723 )
#endif #endif
#define new DEBUG_CLIENTBLOCK #define new DEBUG_CLIENTBLOCK

View File

@ -28,6 +28,7 @@
# include <BRepBndLib.hxx> # include <BRepBndLib.hxx>
# include <gp_Pln.hxx> # include <gp_Pln.hxx>
# include <gp_Trsf.hxx> # include <gp_Trsf.hxx>
# include <BRep_Tool.hxx>
# include <BRepAdaptor_Surface.hxx> # include <BRepAdaptor_Surface.hxx>
# include <BRepCheck_Analyzer.hxx> # include <BRepCheck_Analyzer.hxx>
# include <BRepOffsetAPI_MakeOffset.hxx> # include <BRepOffsetAPI_MakeOffset.hxx>

View File

@ -1221,7 +1221,7 @@ void PartGui::ArcEngine::defaultValues()
SO_ENGINE_OUTPUT(points, SoMFVec3f, setNum(2)); SO_ENGINE_OUTPUT(points, SoMFVec3f, setNum(2));
SbVec3f point1(10.0, 0.0, 0.0); SbVec3f point1(10.0, 0.0, 0.0);
SO_ENGINE_OUTPUT(points, SoMFVec3f, set1Value(0, point1)); SO_ENGINE_OUTPUT(points, SoMFVec3f, set1Value(0, point1));
SbVec3f point2(7.07, 7.07, 0.0); SbVec3f point2(7.07f, 7.07f, 0.0);
SO_ENGINE_OUTPUT(points, SoMFVec3f, set1Value(1, point2)); SO_ENGINE_OUTPUT(points, SoMFVec3f, set1Value(1, point2));
SO_ENGINE_OUTPUT(pointCount, SoSFInt32, setValue(2)); SO_ENGINE_OUTPUT(pointCount, SoSFInt32, setValue(2));
} }