1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-02 17:46:22 +03:00

0029096: Coding Rules - eliminate several compiler warnings in Training Samples

This commit is contained in:
kgv 2017-09-10 11:56:11 +03:00 committed by bugmaster
parent 1136702b93
commit a2560cc90c

View File

@ -1,3 +1,4 @@
#include <d3d9.h>
#include <windows.h>
// include required OCCT headers
@ -619,7 +620,7 @@ public:
}
for (myAISContext()->InitSelected(); myAISContext()->MoreSelected(); myAISContext()->NextSelected())
{
myAISContext()->SetTransparency (myAISContext()->Current(), ((Standard_Real )theTrans) / 10.0, Standard_False);
myAISContext()->SetTransparency (myAISContext()->SelectedInteractive(), ((Standard_Real )theTrans) / 10.0, Standard_False);
}
myAISContext()->UpdateCurrentViewer();
}