Fix issue #127
This commit is contained in:
parent
a9d8faf39e
commit
b7ae8e6e3a
@ -221,7 +221,7 @@ public class MTLLoader implements AssetLoader {
|
||||
|
||||
}else if (cmd.equals("d") || cmd.equals("tr")){
|
||||
float tempAlpha = scan.nextFloat();
|
||||
if (tempAlpha != 0){
|
||||
if (tempAlpha > 0.0f && tempAlpha < 1.0f){
|
||||
alpha = tempAlpha;
|
||||
transparent = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user