]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Prepare OCCT version 7.1.0+ for SALOME-8.2.0 SHAPER_2.7.0 V8_3_0a2
authorrnv <rnv@opencascade.com>
Mon, 13 Mar 2017 15:00:24 +0000 (18:00 +0300)
committerrnv <rnv@opencascade.com>
Mon, 13 Mar 2017 15:00:24 +0000 (18:00 +0300)
src/OCCViewer/OCCViewer_VService.cxx
src/OCCViewer/OCCViewer_ViewModel.cxx

index 1102899a50545a10ae050ba17f254b9cf6c75cc5..a9cd79fe79c69f26fcd4a61b7acbe1208d0627fd 100644 (file)
@@ -91,7 +91,7 @@ Handle(V3d_Viewer) OCCViewer_VService::CreateViewer( const Standard_ExtString na
 #endif
   }
 
-#if OCC_VERSION_LARGE > 0x07010000
+#if OCC_VERSION_LARGE > 0x07010001
   return new V3d_Viewer( aGraphicDriver, name, domain, viewSize, viewProjection,
                         Quantity_NOC_GRAY30, V3d_ZBUFFER, V3d_GOURAUD,
                         computedMode, defaultComputedMode );
index f2c3169ce0d324aa504bd99ecc408d8e43f2d72a..3285f015edb5c3f80f7d8009e1102150c7fe6fbb 100644 (file)
@@ -129,7 +129,7 @@ OCCViewer_Viewer::OCCViewer_Viewer( bool DisplayTrihedron)
 
   // init selector
   myAISContext = new AIS_InteractiveContext( myV3dViewer );
-#if OCC_VERSION_LARGE > 0x07010000
+#if OCC_VERSION_LARGE > 0x07010100
   myAISContext->HighlightStyle(Prs3d_TypeOfHighlight_LocalSelected)->SetColor( Quantity_NOC_WHITE );
   myAISContext->HighlightStyle(Prs3d_TypeOfHighlight_Selected)->SetColor( Quantity_NOC_WHITE );
 #elif OCC_VERSION_LARGE > 0x07000000