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:
parent
4ec4e4e8a8
commit
ccd3858e63
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user