13 lines
484 B
Python
13 lines
484 B
Python
"""Optional refresh of bundled enums; other models are preserved. Imports update them automatically."""
|
|
from ue_workshop.characters import FIGHTER_MODEL, CREATURE_MODEL
|
|
from ue_workshop.skeletal import import_model
|
|
|
|
counts = {}
|
|
for model, name in (
|
|
(FIGHTER_MODEL, "Fighter"),
|
|
(CREATURE_MODEL, "Creature"),
|
|
):
|
|
imported = import_model(model, name=name, reimport=False)
|
|
counts[name + "Animations"] = len(imported.animations)
|
|
print("Exported animation catalog:", counts)
|