]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
RNV: Fix compilation problem with new OCCT.
authorinv <inv@opencascade.com>
Thu, 12 Dec 2013 11:20:45 +0000 (11:20 +0000)
committerinv <inv@opencascade.com>
Thu, 12 Dec 2013 11:20:45 +0000 (11:20 +0000)
src/EntityGUI/EntityGUI_3DSketcherDlg.cxx
src/MeasureGUI/MeasureGUI_AngleDlg.cxx

index 64e1e5e12c2594b49ac9bbc075674acc0bb91339..88b730307226af1bfcd238e1769f45dcf2d60de2 100755 (executable)
@@ -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 );
 
index afb373a9d76f78d624f6fb8d7872865115e8e126..8dfeeea01a5ba0bd14a35248690b178978f9c296 100644 (file)
@@ -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;