From ef7ea81dc99a68c072fe4601bfe523c9572eb3a3 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 20 Feb 2015 18:14:43 +0300 Subject: [PATCH] Fix pb of compilation on dev version of OCCT caused by commit b6dff30 --- src/OCCViewer/OCCViewer_ViewModel.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index 83e9355e8..94a716398 100755 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -125,13 +125,13 @@ OCCViewer_Viewer::OCCViewer_Viewer( bool DisplayTrihedron) //myTrihedron->SetColor( Col ); myTrihedron->SetArrowColor( Col.Name() ); myTrihedron->SetSize(100); - #if OCC_VERSION_LARGE > 0x06080000 +#if OCC_VERSION_LARGE > 0x06080100 // VSR 20/02/2015: temporarily change to larger version until issue OCC25540 is integrated to master; to be reverted later Handle(Prs3d_Drawer) drawer = myTrihedron->Attributes(); if (drawer->HasOwnDatumAspect()) { - #else +#else Handle(AIS_Drawer) drawer = myTrihedron->Attributes(); if (drawer->HasDatumAspect()) { - #endif +#endif Handle(Prs3d_DatumAspect) daspect = drawer->DatumAspect(); daspect->FirstAxisAspect()->SetColor(Quantity_Color(1.0, 0.0, 0.0, Quantity_TOC_RGB)); daspect->SecondAxisAspect()->SetColor(Quantity_Color(0.0, 1.0, 0.0, Quantity_TOC_RGB)); -- 2.39.2