From: kgv Date: Thu, 7 Jan 2016 08:22:21 +0000 (+0300) Subject: 0027060: Visualization issue with TopoDS_Vertex after call of AIS_Shape::SetColor() X-Git-Tag: V7_0_0rc~99 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7d835040071b239e7358d77a25b14cd5456a9f91;p=occt.git 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. --- diff --git a/src/AIS/AIS_Shape.cxx b/src/AIS/AIS_Shape.cxx index f25df9cdc8..c2721c53a0 100644 --- a/src/AIS/AIS_Shape.cxx +++ b/src/AIS/AIS_Shape.cxx @@ -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();