Salome HOME
RNV: Remove deprecated includes and old commented code.
authorinv <inv@opencascade.com>
Thu, 7 Nov 2013 07:25:13 +0000 (07:25 +0000)
committerinv <inv@opencascade.com>
Thu, 7 Nov 2013 07:25:13 +0000 (07:25 +0000)
src/OCCViewer/OCCViewer_ViewModel.cxx

index bb5d8df0779e2d940c8ac1f812ff7712e533714d..3ddc7b5d3233a849022734c5943b22913b86fa4d 100755 (executable)
@@ -55,8 +55,6 @@
 #include <Prs3d_Drawer.hxx>
 #include <Prs3d_DatumAspect.hxx>
 #include <Prs3d_LineAspect.hxx>
-#include <Prs3d_LengthAspect.hxx>
-#include <Prs3d_AngleAspect.hxx>
 #include <Prs3d_TextAspect.hxx>
 
 #include <Visual3d_View.hxx>
@@ -118,17 +116,6 @@ OCCViewer_Viewer::OCCViewer_Viewer( bool DisplayTrihedron)
   
   // display isoline on planar faces (box for ex.)
   myAISContext->IsoOnPlane( true );
-
-  /*
-  double h = QApplication::desktop()->screenGeometry( QApplication::desktop()->primaryScreen() ).height() / 300. ;
-  Handle(Prs3d_Drawer) drawer = myAISContext->DefaultDrawer();
-  Handle(Prs3d_TextAspect) ta = drawer->TextAspect();
-  ta->SetHeight(100); // VSR: workaround for CAS.CADE bug (is it really needed ???)
-  ta->SetHeight(h);
-  drawer->SetTextAspect(ta);
-  drawer->AngleAspect()->SetTextAspect(ta);
-  drawer->LengthAspect()->SetTextAspect(ta);
-  */
   
   /* create trihedron */
   if ( DisplayTrihedron )