From 31bb69f0454506e625a7d4d146f4d9aba2d096ea Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 29 Oct 2019 14:10:14 -0400 Subject: [PATCH] Fix age name stomping via the zip export dialog. --- korman/exporter/convert.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/korman/exporter/convert.py b/korman/exporter/convert.py index e1ed25a..8b4f1be 100644 --- a/korman/exporter/convert.py +++ b/korman/exporter/convert.py @@ -376,7 +376,10 @@ class Exporter: @property def age_name(self): - return Path(self._op.filepath).stem + if self._op.dat_only: + return Path(self._op.filepath).stem + else: + return bpy.context.scene.world.plasma_age.age_name @property def dat_only(self):