mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -425,7 +425,7 @@ static Standard_Integer meshmat
|
||||
if (argc == 4)
|
||||
{
|
||||
Standard_Real aTransparency = Draw::Atof(argv[3]);
|
||||
aMatAsp.SetTransparency(aTransparency);
|
||||
aMatAsp.SetTransparency (Standard_ShortReal (aTransparency));
|
||||
}
|
||||
aMesh->GetDrawer()->SetMaterial( MeshVS_DA_FrontMaterial, aMatAsp );
|
||||
aMesh->GetDrawer()->SetMaterial( MeshVS_DA_BackMaterial, aMatAsp );
|
||||
|
Reference in New Issue
Block a user