mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0032711: Coding Rules - new warning in AIS_Shape::Color() after integration fix for 0032704
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user