From acb87b38445ac0649ffad69ab14ad169a45c2593 Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Sat, 4 Jan 2025 10:19:31 +0800 Subject: [PATCH] fix: fix step count error when exporting virtools file --- bbp_ng/OP_EXPORT_virtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbp_ng/OP_EXPORT_virtools.py b/bbp_ng/OP_EXPORT_virtools.py index 974fc47..0087236 100644 --- a/bbp_ng/OP_EXPORT_virtools.py +++ b/bbp_ng/OP_EXPORT_virtools.py @@ -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