mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
Remove overloaded method Graphic3d_AspectFillArea3d::SetTextureMap(bool)
This commit is contained in:
@@ -154,9 +154,6 @@ public:
|
||||
//! Return true if texture mapping is enabled (false by default).
|
||||
bool TextureMapState() const { return myToMapTexture; }
|
||||
|
||||
//! Set texture mapping flag.
|
||||
void SetTextureMap (bool theToEnable) { myToMapTexture = theToEnable; }
|
||||
|
||||
//! Enable texture mapping (has no effect if texture is not set).
|
||||
void SetTextureMapOn() { myToMapTexture = true; }
|
||||
|
||||
|
||||
@@ -237,6 +237,13 @@ Handle(Graphic3d_AspectFillArea3d) Graphic3d_ClipPlane::CappingAspect() const
|
||||
anAspect->SetInteriorStyle (myHatchOn ? Aspect_IS_HATCH : Aspect_IS_SOLID);
|
||||
anAspect->SetInteriorColor (myMaterial.Color());
|
||||
anAspect->SetSuppressBackFaces (false);
|
||||
anAspect->SetTextureMap (!myTexture.IsNull());
|
||||
if (!myTexture.IsNull())
|
||||
{
|
||||
anAspect->SetTextureMapOn();
|
||||
}
|
||||
else
|
||||
{
|
||||
anAspect->SetTextureMapOff();
|
||||
}
|
||||
return anAspect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user