projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0027818: Visualization - provide an interface to define highlight presentation properties
[occt.git]
/
src
/
OpenGl
/
OpenGl_Context.cxx
diff --git
a/src/OpenGl/OpenGl_Context.cxx
b/src/OpenGl/OpenGl_Context.cxx
index
fe8be66
..
bc7ecf8
100644
(file)
--- a/
src/OpenGl/OpenGl_Context.cxx
+++ b/
src/OpenGl/OpenGl_Context.cxx
@@
-2880,6
+2880,7
@@
void OpenGl_Context::SetShadingMaterial (const OpenGl_AspectFace* theAspect,
if (theHighlightColor != NULL)
{
aParams.SetColor (*theHighlightColor);
+ aParams.Diffuse.a() = theHighlightColor->a();
}
myActiveProgram->SetUniform (this, aLoc, OpenGl_Material::NbOfVec4(),