[Bf-extensions-cvs] [47470215] master: Fix T55065: lipSynch Importer not handling relative file paths correctly
Philipp Oeser
noreply at git.blender.org
Tue May 15 09:37:01 CEST 2018
Commit: 474702157831f1a58bb50f5240ab8b1b02b6ba37
Author: Philipp Oeser
Date: Tue May 15 09:33:10 2018 +0200
Branches: master
https://developer.blender.org/rBAC474702157831f1a58bb50f5240ab8b1b02b6ba37
Fix T55065: lipSynch Importer not handling relative file paths correctly
===================================================================
M io_import_lipSync_Importer.py
===================================================================
diff --git a/io_import_lipSync_Importer.py b/io_import_lipSync_Importer.py
index 89d70a96..8933572f 100644
--- a/io_import_lipSync_Importer.py
+++ b/io_import_lipSync_Importer.py
@@ -167,7 +167,7 @@ def lipsyncer():
obj = bpy.context.object
scn = bpy.context.scene
- f = open(scn.regMenuTypes.fpath) # importing file
+ f = open(bpy.path.abspath(scn.regMenuTypes.fpath)) # importing file
f.readline() # reading the 1st line that we don"t need
for line in f:
More information about the Bf-extensions-cvs
mailing list