mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0028263: Coding Rules - clean up definition of the class Graphic3d_MaterialAspect
Fixed uninitialized fields in several classes. Body of trivial methods have been moved to class definition (header file). Ensure that non-primitive types are returned by reference, when possible. Removed unused class Prs3d_PlaneSet.
This commit is contained in:
@@ -2877,8 +2877,8 @@ void OpenGl_Context::SetShadingMaterial (const OpenGl_AspectFace* theAspect,
|
||||
}
|
||||
|
||||
// handling transparency
|
||||
float aTranspFront = (float )aMatFrontSrc.Transparency();
|
||||
float aTranspBack = (float )aMatBackSrc .Transparency();
|
||||
float aTranspFront = aMatFrontSrc.Transparency();
|
||||
float aTranspBack = aMatBackSrc .Transparency();
|
||||
if (!theHighlight.IsNull()
|
||||
&& theHighlight->BasicFillAreaAspect().IsNull())
|
||||
{
|
||||
|
Reference in New Issue
Block a user