Skip to content

Commit a83c779

Browse files
committed
Re-fix mrdoob#8381 in a more logical way
1 parent 99bf046 commit a83c779

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/js/loaders/GLTFLoader.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1129,10 +1129,11 @@ GLTFParser.prototype.loadMaterials = function() {
11291129

11301130
if ( pname == "transparency" ) {
11311131

1132-
uvalue = value;
11331132
materialParams.transparent = true;
11341133

1135-
} else {
1134+
}
1135+
1136+
if ( value ) {
11361137

11371138
uvalue = value;
11381139

0 commit comments

Comments
 (0)