From ccd3858e636767d769931e8a1ade78114be02516 Mon Sep 17 00:00:00 2001 From: kgv Date: Sat, 4 Dec 2021 15:49:14 +0300 Subject: [PATCH] 0032711: Coding Rules - new warning in AIS_Shape::Color() after integration fix for 0032704 --- src/AIS/AIS_Shape.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AIS/AIS_Shape.cxx b/src/AIS/AIS_Shape.cxx index 746db59025..5fcb6fa631 100644 --- a/src/AIS/AIS_Shape.cxx +++ b/src/AIS/AIS_Shape.cxx @@ -359,7 +359,7 @@ void AIS_Shape::Color (Quantity_Color& theColor) const { if (const Handle(Prs3d_ShadingAspect)& aShading = myDrawer->ShadingAspect()) { - theColor = myDrawer->ShadingAspect()->Color(myCurrentFacingModel); + theColor = aShading->Color(myCurrentFacingModel); } }