mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023325: Always getting the transparency of the back face
Added the 'breaks' in the affected 'switch' statement.
This commit is contained in:
@@ -220,8 +220,10 @@ Standard_Real aValue(0.);
|
||||
case Aspect_TOFM_BOTH_SIDE:
|
||||
case Aspect_TOFM_FRONT_SIDE:
|
||||
aValue = myAspect->FrontMaterial().Transparency();
|
||||
break;
|
||||
case Aspect_TOFM_BACK_SIDE:
|
||||
aValue = myAspect->BackMaterial().Transparency();
|
||||
break;
|
||||
}
|
||||
return aValue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user