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: