clementlandrin 1 год назад
Родитель
Сommit
1594e6cb32
1 измененных файлов с 0 добавлено и 4 удалено
  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 )