Fix the last part of issue #90

This commit is contained in:
shadowislord 2015-01-31 16:18:13 -05:00
parent 307a0e7aed
commit 7a09fbbeb0

View File

@ -152,6 +152,7 @@ public class MaterialLoader implements AssetLoader {
} catch (AssetNotFoundException ex){
logger.log(Level.WARNING, "Cannot locate {0} for material {1}", new Object[]{texKey, matName});
textures[texUnit].setImage(PlaceholderAssets.getPlaceholderImage());
textures[texUnit].setKey(texKey);
}
}