From: inv Date: Thu, 7 Nov 2013 07:25:13 +0000 (+0000) Subject: RNV: Remove deprecated includes and old commented code. X-Git-Tag: BR_hydro_v_0_3_1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cac2fcc405277d76cd73147c305dbb9e50c66527;hp=c325cc37fc6354d0910f9eace8e1687e126c2ca9;p=modules%2Fgui.git RNV: Remove deprecated includes and old commented code. --- diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index bb5d8df07..3ddc7b5d3 100755 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -55,8 +55,6 @@ #include #include #include -#include -#include #include #include @@ -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 )