From: inv Date: Thu, 12 Dec 2013 11:20:45 +0000 (+0000) Subject: RNV: Fix compilation problem with new OCCT. X-Git-Tag: V7_3_0~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d7caf301330d3e0a7b117a8b04ddd03ce20464a2;p=modules%2Fgeom.git RNV: Fix compilation problem with new OCCT. --- diff --git a/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx b/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx index 64e1e5e12..88b730307 100755 --- a/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx @@ -1701,8 +1701,8 @@ Handle(AIS_AngleDimension) EntityGUI_3DSketcherDlg::createAISAngleDimension(doub std::string Angle_str = doubleToString(theAngle); // Construction of the plane - gce_MakePln gce_MP2(P0, P1, P2); - Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP2.Value()); + //gce_MakePln gce_MP2(P0, P1, P2); + //Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP2.Value()); TopoDS_Vertex V0 = BRepBuilderAPI_MakeVertex(P0); TopoDS_Vertex V1 = BRepBuilderAPI_MakeVertex(P1); @@ -1725,7 +1725,7 @@ Handle(AIS_AngleDimension) EntityGUI_3DSketcherDlg::createAISAngleDimension(doub // todo : port - Handle(AIS_AngleDimension) anIO = new AIS_AngleDimension( anEdge1, anEdge2, aPlane->Pln() ); + Handle(AIS_AngleDimension) anIO = new AIS_AngleDimension( anEdge1, anEdge2 ); anIO->SetCustomValue( theAngle ); diff --git a/src/MeasureGUI/MeasureGUI_AngleDlg.cxx b/src/MeasureGUI/MeasureGUI_AngleDlg.cxx index afb373a9d..8dfeeea01 100644 --- a/src/MeasureGUI/MeasureGUI_AngleDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_AngleDlg.cxx @@ -347,7 +347,7 @@ SALOME_Prs* MeasureGUI_AngleDlg::buildPrs() gce_MakePln gce_MP(aP11, aP12, aP3); Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP.Value()); - Handle(AIS_AngleDimension) anIO = new AIS_AngleDimension( anEdge1, anEdge2, aPlane->Pln() ); + Handle(AIS_AngleDimension) anIO = new AIS_AngleDimension( anEdge1, anEdge2 ); Handle(Prs3d_DimensionAspect) aDimensionStyle = new Prs3d_DimensionAspect;