CRC rewrite

This commit is contained in:
Will Snyder
2021-01-07 01:25:09 -05:00
parent e0a71bc899
commit 6f2c1cf168
5 changed files with 30 additions and 83 deletions

View File

@@ -78,7 +78,7 @@ def read_scene(input_file, anim_only=False) -> Scene:
print("Skeleton models: ")
for model in scene.models:
for i in range(len(scene.skeleton)):
if crc(model.name) == scene.skeleton[i]:
if to_crc(model.name) == scene.skeleton[i]:
print("\t" + model.name)
if model.model_type == ModelType.SKIN:
scene.skeleton.pop(i)