Partial texture path fixes
This commit is contained in:
@@ -200,10 +200,10 @@ def main():
|
|||||||
|
|
||||||
logging.info("Looking for a few common texture files...")
|
logging.info("Looking for a few common texture files...")
|
||||||
try:
|
try:
|
||||||
f = tex.find_file("assets/minecraft/textures/blocks/sandstone_top.png", verbose=True)
|
f = tex.find_file("assets/minecraft/textures/block/sandstone_top.png", verbose=True)
|
||||||
f = tex.find_file("assets/minecraft/textures/blocks/grass_top.png", verbose=True)
|
f = tex.find_file("assets/minecraft/textures/block/grass_block_top.png", verbose=True)
|
||||||
f = tex.find_file("assets/minecraft/textures/blocks/diamond_ore.png", verbose=True)
|
f = tex.find_file("assets/minecraft/textures/block/diamond_ore.png", verbose=True)
|
||||||
f = tex.find_file("assets/minecraft/textures/blocks/planks_acacia.png", verbose=True)
|
f = tex.find_file("assets/minecraft/textures/block/acacia_planks.png", verbose=True)
|
||||||
except IOError:
|
except IOError:
|
||||||
logging.error("Could not find any texture files.")
|
logging.error("Could not find any texture files.")
|
||||||
return 1
|
return 1
|
||||||
@@ -331,10 +331,10 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
|
|||||||
texopts = util.dict_subset(render, ["texturepath"])
|
texopts = util.dict_subset(render, ["texturepath"])
|
||||||
|
|
||||||
tex = textures.Textures(**texopts)
|
tex = textures.Textures(**texopts)
|
||||||
f = tex.find_file("assets/minecraft/textures/blocks/sandstone_top.png", verbose=True)
|
f = tex.find_file("assets/minecraft/textures/block/sandstone_top.png", verbose=True)
|
||||||
f = tex.find_file("assets/minecraft/textures/blocks/grass_top.png", verbose=True)
|
f = tex.find_file("assets/minecraft/textures/block/grass_block_top.png", verbose=True)
|
||||||
f = tex.find_file("assets/minecraft/textures/blocks/diamond_ore.png", verbose=True)
|
f = tex.find_file("assets/minecraft/textures/block/diamond_ore.png", verbose=True)
|
||||||
f = tex.find_file("assets/minecraft/textures/blocks/planks_oak.png", verbose=True)
|
f = tex.find_file("assets/minecraft/textures/block/oak_planks.png", verbose=True)
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user