clementlandrin 1 年之前
父節點
當前提交
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 )