mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 17:48:34 +05:00
Backward compatibility with OCCT 6.6.0
This commit is contained in:
parent
a1ea5512c3
commit
6362741273
@ -176,7 +176,7 @@ void GEOMAlgo_WireSolid::BuildResult()
|
|||||||
}
|
}
|
||||||
else if (aNbPB==1) {
|
else if (aNbPB==1) {
|
||||||
const Handle(BOPDS_PaveBlock)& aPB=aLPB.First();
|
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)) {
|
if (pDS->IsCommonBlock(aPB)) {
|
||||||
#else
|
#else
|
||||||
if (aPB->IsCommonBlock()) {
|
if (aPB->IsCommonBlock()) {
|
||||||
|
@ -733,7 +733,7 @@ void GEOM_Displayer::updateShapeProperties( const Handle(GEOM_AISShape)& AISShap
|
|||||||
#endif
|
#endif
|
||||||
GeometryGUI::getTexture( study, textureId, aWidth, aHeight );
|
GeometryGUI::getTexture( study, textureId, aWidth, aHeight );
|
||||||
if ( !aTexture.IsNull() ) {
|
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 =
|
Handle(Prs3d_PointAspect) aTextureAspect =
|
||||||
new Prs3d_PointAspect( HasColor() ?
|
new Prs3d_PointAspect( HasColor() ?
|
||||||
// predefined color, manually set to displayer via GEOM_Displayer::SetColor() function
|
// predefined color, manually set to displayer via GEOM_Displayer::SetColor() function
|
||||||
|
Loading…
Reference in New Issue
Block a user