]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Backward compatibility with OCCT 6.6.0 BR_new_bop4
authorvsr <vsr@opencascade.com>
Fri, 13 Sep 2013 09:50:37 +0000 (09:50 +0000)
committervsr <vsr@opencascade.com>
Fri, 13 Sep 2013 09:50:37 +0000 (09:50 +0000)
src/GEOMAlgo/GEOMAlgo_WireSolid.cxx
src/GEOMGUI/GEOM_Displayer.cxx

index bfae2e19e5982ac1f1311a7a1d798df7fbb7976d..b8573dc5b416ddb4e94da8fa1dae23063a4f41ce 100644 (file)
@@ -176,7 +176,7 @@ void GEOMAlgo_WireSolid::BuildResult()
     }
     else if (aNbPB==1) {
       const Handle(BOPDS_PaveBlock)& aPB=aLPB.First();
-#if OCC_VERSION_LARGE > 0x06050500      
+#if OCC_VERSION_LARGE > 0x06060000 // Porting to OCCT higher 6.6.0 version
       if (pDS->IsCommonBlock(aPB)) {
 #else
       if (aPB->IsCommonBlock()) {
index 941793533b818c489c22fc9329283d4021dd3717..fca01937933bf472db9c3b6a095ce0be0103b75d 100644 (file)
@@ -733,7 +733,7 @@ void GEOM_Displayer::updateShapeProperties( const Handle(GEOM_AISShape)& AISShap
 #endif
         GeometryGUI::getTexture( study, textureId, aWidth, aHeight );
       if ( !aTexture.IsNull() ) {
-#if OCC_VERSION_LARGE > 0x06050500 // Porting to OCCT higher 6.5.5 version
+#if OCC_VERSION_LARGE > 0x06060000 // Porting to OCCT higher 6.6.0 version
         Handle(Prs3d_PointAspect) aTextureAspect =
           new Prs3d_PointAspect( HasColor() ? 
                                 // predefined color, manually set to displayer via GEOM_Displayer::SetColor() function