1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0030791: Visualization - possibility to display materials by different hatching style for clipping

(cherry picked from commit ab39c2510fa4c9a568deb226cca37fe22c3162c4)

# Conflicts:
#	src/ViewerTest/ViewerTest_ViewerCommands.cxx
This commit is contained in:
nds
2019-06-18 15:44:43 +03:00
committed by nds
parent 8758ba290f
commit 1a716308ea
31 changed files with 1434 additions and 649 deletions

View File

@@ -176,10 +176,7 @@ void AIS_Shape::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentat
try
{
OCC_CATCH_SIGNALS
StdPrs_ShadedShape::Add (aPrs, myshape, myDrawer,
myDrawer->ShadingAspect()->Aspect()->ToMapTexture()
&& !myDrawer->ShadingAspect()->Aspect()->TextureMap().IsNull(),
myUVOrigin, myUVRepeat, myUVScale);
StdPrs_ShadedShape::Add (aPrs, myshape, myDrawer, myDrawer->FillCappingAspect());
}
catch (Standard_Failure const& anException)
{