1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-21 10:13:43 +03:00

0032711: Coding Rules - new warning in AIS_Shape::Color() after integration fix for 0032704

This commit is contained in:
kgv 2021-12-04 15:49:14 +03:00 committed by smoskvin
parent 4ec4e4e8a8
commit ccd3858e63

View File

@ -359,7 +359,7 @@ void AIS_Shape::Color (Quantity_Color& theColor) const
{ {
if (const Handle(Prs3d_ShadingAspect)& aShading = myDrawer->ShadingAspect()) if (const Handle(Prs3d_ShadingAspect)& aShading = myDrawer->ShadingAspect())
{ {
theColor = myDrawer->ShadingAspect()->Color(myCurrentFacingModel); theColor = aShading->Color(myCurrentFacingModel);
} }
} }