clementlandrin 1 anno fa
parent
commit
1594e6cb32
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      hrt/prefab/l3d/ModelLibrary.hx

+ 0 - 4
hrt/prefab/l3d/ModelLibrary.hx

@@ -533,10 +533,6 @@ class ModelLibrary extends Prefab {
 					if ( pshader != null )
 						specularTexture = pshader.texture.name;
 				}
-				if( textures.length == 0 ) {
-					hasNormal = normalMap != null;
-					hasSpec = specularTexture != null;
-				}
 
 				var pos = loadTexture(sourcePath, diffuseTexture, normalMap, specularTexture);
 				if ( pos == null )