From c2ea65c719befac0fafc6a11b3899fa0d80b1bc2 Mon Sep 17 00:00:00 2001 From: Joseph Davies Date: Tue, 3 Oct 2017 20:27:37 -0700 Subject: [PATCH] Fix crash when exporting sounds. --- korman/properties/modifiers/sound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/properties/modifiers/sound.py b/korman/properties/modifiers/sound.py index 8234938..e907497 100644 --- a/korman/properties/modifiers/sound.py +++ b/korman/properties/modifiers/sound.py @@ -240,7 +240,7 @@ class PlasmaSound(idprops.IDPropMixin, bpy.types.PropertyGroup): plfade.lengthInSecs = 0.0 else: plfade.lengthInSecs = blfade.length - plfade.type = getattr(plFadeParams, blfade.fade_type) + plfade.type = getattr(plSound.plFadeParams, blfade.fade_type) plfade.currTime = -1.0 # Some manual fiddling -- this is hidden deep inside the 3dsm exporter...