mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 01:22:05 +05:00
PAL12113: Can't visualize an edge in shading mode in OCC view. A patch by Sergey ANIKIN.
This commit is contained in:
parent
d9dd5e1f74
commit
1c7eb58dec
@ -192,7 +192,9 @@ void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresent
|
|||||||
//a4bis->SetInteriorColor(myShadingColor);
|
//a4bis->SetInteriorColor(myShadingColor);
|
||||||
myDrawer->ShadingAspect()->SetColor(myShadingColor);
|
myDrawer->ShadingAspect()->SetColor(myShadingColor);
|
||||||
|
|
||||||
StdPrs_ShadedShape::Add(aPrs,myshape,myDrawer);
|
// PAL12113: AIS_Shape::Compute() works correctly with shapes containing no faces
|
||||||
|
//StdPrs_ShadedShape::Add(aPrs,myshape,myDrawer);
|
||||||
|
AIS_Shape::Compute(aPresentationManager, aPrs, aMode);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,4 +38,4 @@
|
|||||||
#endif
|
#endif
|
||||||
#ifndef _Prs3d_Presentation_HeaderFile
|
#ifndef _Prs3d_Presentation_HeaderFile
|
||||||
#include <Prs3d_Presentation.hxx>
|
#include <Prs3d_Presentation.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user