Update mfc sample after integration issue 0025071
authorbugmaster <bugmaster@opencascade.com>
Fri, 18 Jul 2014 09:35:24 +0000 (13:35 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 18 Jul 2014 09:35:24 +0000 (13:35 +0400)
samples/mfc/standard/Common/User_Cylinder.cxx

index c62dba8..20b5430 100755 (executable)
@@ -22,6 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(User_Cylinder,AIS_InteractiveObject)
 #include <Aspect_Array1OfEdge.hxx>
 #include <Quantity_Color.hxx>
 #include <BRepMesh_IncrementalMesh.hxx>
+#include <Prs3d.hxx>
 
 #include <AIS_GraphicTool.hxx>
 
@@ -107,7 +108,7 @@ case 6: //color
     mygroup->SetPrimitivesAspect(myAspect);
     myAspect->SetEdgeOn();
 
-    myDeflection = AIS_Shape::GetDeflection(myShape,myDrawer);
+    myDeflection = Prs3d::GetDeflection(myShape,myDrawer);
     BRepMesh_IncrementalMesh(myShape,myDeflection);
 
     myX1OnOff = Standard_False;