mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0027060: Visualization issue with TopoDS_Vertex after call of AIS_Shape::SetColor()
AIS_Shape::setColor() - define Aspect_TOM_PLUS point aspect in sync with Prs3d_Drawer::PointAspect() when Prs3d_Drawer has no Link.
This commit is contained in:
parent
369a38aac2
commit
7d83504007
@ -491,7 +491,7 @@ void AIS_Shape::setColor (const Handle(Prs3d_Drawer)& theDrawer,
|
||||
}
|
||||
if (!theDrawer->HasOwnPointAspect())
|
||||
{
|
||||
theDrawer->SetPointAspect (new Prs3d_PointAspect (Aspect_TOM_POINT, Quantity_NOC_BLACK, 1.0));
|
||||
theDrawer->SetPointAspect (new Prs3d_PointAspect (Aspect_TOM_PLUS, Quantity_NOC_BLACK, 1.0));
|
||||
if (theDrawer->HasLink())
|
||||
{
|
||||
*theDrawer->PointAspect()->Aspect() = *theDrawer->Link()->PointAspect()->Aspect();
|
||||
|
Loading…
x
Reference in New Issue
Block a user