mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-24 12:15:37 +05:00
INT PAL 0052620: Creation of colored fields on edges is incorrect
This commit is contained in:
parent
4310bcdf3d
commit
c818e008d4
@ -253,10 +253,14 @@ void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresent
|
||||
case ShadingWithEdges:
|
||||
{
|
||||
shadingMode(aPresentationManager, aPrs, Shading);
|
||||
myDrawer->SetFaceBoundaryDraw( Standard_True );
|
||||
Handle(Prs3d_LineAspect) aBoundaryAspect =
|
||||
new Prs3d_LineAspect ( myEdgesInShadingColor, Aspect_TOL_SOLID, myOwnWidth );
|
||||
myDrawer->SetFaceBoundaryAspect (aBoundaryAspect);
|
||||
if( anIsColorField && myFieldDimension == 1 )
|
||||
drawField( aPrs );
|
||||
else {
|
||||
myDrawer->SetFaceBoundaryDraw( Standard_True );
|
||||
Handle(Prs3d_LineAspect) aBoundaryAspect =
|
||||
new Prs3d_LineAspect ( myEdgesInShadingColor, Aspect_TOL_SOLID, myOwnWidth );
|
||||
myDrawer->SetFaceBoundaryAspect (aBoundaryAspect);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case TexturedShape:
|
||||
|
Loading…
Reference in New Issue
Block a user