Backward compatibility with OCCT 6.6.0

This commit is contained in:
vsr 2013-09-13 09:50:37 +00:00
parent a1ea5512c3
commit 6362741273
2 changed files with 2 additions and 2 deletions

View 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()) {

View 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