Included Camera Tilt to Camera Paths

This commit is contained in:
CrushedPixel
2015-05-06 12:22:05 +02:00
parent 316c6da7af
commit 8e3ded4f5e
3 changed files with 16 additions and 7 deletions

View File

@@ -33,11 +33,16 @@ public class ResourceHelper {
}
public static void freeAllResources() {
for(ResourceLocation loc : openResources) {
Minecraft.getMinecraft().getTextureManager().deleteTexture(loc);
}
Minecraft.getMinecraft().addScheduledTask(new Runnable() {
@Override
public void run() {
for(ResourceLocation loc : openResources) {
Minecraft.getMinecraft().getTextureManager().deleteTexture(loc);
}
openResources = new ArrayList<ResourceLocation>();
openResources = new ArrayList<ResourceLocation>();
}
});
}
public static BufferedImage getDefaultThumbnail() {