From 9ee24815989c871e6e566ef899ab23252cc92721 Mon Sep 17 00:00:00 2001 From: kgv Date: Wed, 10 Feb 2021 11:05:33 +0300 Subject: [PATCH] 0032124: Visualization, AIS_Shape - setting color will cause Iso Lines to appear due to misprint in Prs3d_Drawer::SetOwnLineAspects() Fixed misprint myUIsoAspect -> myVIsoAspect. --- src/Prs3d/Prs3d_Drawer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5