mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0029096: Coding Rules - eliminate several compiler warnings in Training Samples
This commit is contained in:
parent
1136702b93
commit
a2560cc90c
@ -1,3 +1,4 @@
|
|||||||
|
#include <d3d9.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
// include required OCCT headers
|
// include required OCCT headers
|
||||||
@ -619,7 +620,7 @@ public:
|
|||||||
}
|
}
|
||||||
for (myAISContext()->InitSelected(); myAISContext()->MoreSelected(); myAISContext()->NextSelected())
|
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();
|
myAISContext()->UpdateCurrentViewer();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user