2
0
Эх сурвалжийг харах

Bugfix: fixed an issue with missing material color when material has a non used texture.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10801 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
Kae..pl 12 жил өмнө
parent
commit
d86adfa4f1

+ 1 - 1
engine/src/blender/com/jme3/scene/plugins/blender/materials/MaterialContext.java

@@ -158,7 +158,7 @@ public final class MaterialContext {
         boolean transparent = false;
         if (diffuseColor != null) {
             transparent = diffuseColor.a < 1.0f;
-            if (textureDataMap.size() > 0) {// texutre covers the material color
+            if (loadedTextures.size() > 0) {// texutre covers the material color
                 diffuseColor.set(1, 1, 1, 1);
             }
         }