fix: fix step count error when exporting virtools file

This commit is contained in:
yyc12345 2025-01-04 10:19:31 +08:00
parent 94d5c934c6
commit acb87b3844

View File

@ -220,7 +220,7 @@ def _export_virtools_light(
light_crets: tuple[_TLightPair, ...]
) -> None:
# start saving
progress.enter_substeps(0, "Saving Lights")
progress.enter_substeps(len(light_crets), "Saving Lights")
for obj3d, light, vtlight in light_crets:
# set name