projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec4e4e
)
0032711: Coding Rules - new warning in AIS_Shape::Color() after integration fix for...
author
kgv
<kgv@opencascade.com>
Sat, 4 Dec 2021 12:49:14 +0000
(15:49 +0300)
committer
smoskvin
<smoskvin@opencascade.com>
Tue, 7 Dec 2021 19:32:14 +0000
(22:32 +0300)
src/AIS/AIS_Shape.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/AIS/AIS_Shape.cxx
b/src/AIS/AIS_Shape.cxx
index
746db59
..
5fcb6fa
100644
(file)
--- 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);
}
}