Browse Source

Merge pull request #308 from Jrius/sound_relative_filepath

pull/312/head
Adam Johnson 3 years ago committed by GitHub
parent
commit
641399b459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      korman/properties/modifiers/sound.py

2
korman/properties/modifiers/sound.py

@ -423,7 +423,7 @@ class PlasmaSound(idprops.IDPropMixin, bpy.types.PropertyGroup):
if sound.packed_file is None:
stream = hsFileStream()
try:
stream.open(sound.filepath, fmRead)
stream.open(bpy.path.abspath(sound.filepath), fmRead)
except IOError:
self._raise_error("failed to open file")
else:

Loading…
Cancel
Save