From: kgv Date: Wed, 10 Feb 2021 08:05:33 +0000 (+0300) Subject: 0032124: Visualization, AIS_Shape - setting color will cause Iso Lines to appear... X-Git-Tag: V7_6_0_beta~267 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=9ee24815989c871e6e566ef899ab23252cc92721;p=occt.git 0032124: Visualization, AIS_Shape - setting color will cause Iso Lines to appear due to misprint in Prs3d_Drawer::SetOwnLineAspects() Fixed misprint myUIsoAspect -> myVIsoAspect. --- diff --git a/src/Prs3d/Prs3d_Drawer.cxx b/src/Prs3d/Prs3d_Drawer.cxx index d0bfe0e51e..d8b54cf2f6 100644 --- a/src/Prs3d/Prs3d_Drawer.cxx +++ b/src/Prs3d/Prs3d_Drawer.cxx @@ -1140,7 +1140,7 @@ Standard_Boolean Prs3d_Drawer::SetOwnLineAspects (const Handle(Prs3d_Drawer)& th if (!aLink.IsNull()) { *myVIsoAspect->Aspect() = *aLink->VIsoAspect()->Aspect(); - myUIsoAspect->SetNumber (aLink->VIsoAspect()->Number()); + myVIsoAspect->SetNumber (aLink->VIsoAspect()->Number()); } myHasOwnVIsoAspect = true; }