Browse Source

Fix crash when exporting sounds.

pull/74/head
Joseph Davies 7 years ago
parent
commit
c2ea65c719
Signed by untrusted user: Deledrius
GPG Key ID: 28ACC6E8D2B24B8A
  1. 2
      korman/properties/modifiers/sound.py

2
korman/properties/modifiers/sound.py

@ -240,7 +240,7 @@ class PlasmaSound(idprops.IDPropMixin, bpy.types.PropertyGroup):
plfade.lengthInSecs = 0.0 plfade.lengthInSecs = 0.0
else: else:
plfade.lengthInSecs = blfade.length plfade.lengthInSecs = blfade.length
plfade.type = getattr(plFadeParams, blfade.fade_type) plfade.type = getattr(plSound.plFadeParams, blfade.fade_type)
plfade.currTime = -1.0 plfade.currTime = -1.0
# Some manual fiddling -- this is hidden deep inside the 3dsm exporter... # Some manual fiddling -- this is hidden deep inside the 3dsm exporter...

Loading…
Cancel
Save