[Bf-extensions-cvs] [54e504f3] master: glTF exporter: proper OS path handle

Julien Duroure noreply at git.blender.org
Sat Aug 24 12:56:47 CEST 2019


Commit: 54e504f32b1a14a632f1a5b4a7dc5f2fd309c435
Author: Julien Duroure
Date:   Sat Aug 24 12:56:09 2019 +0200
Branches: master
https://developer.blender.org/rBA54e504f32b1a14a632f1a5b4a7dc5f2fd309c435

glTF exporter: proper OS path handle

===================================================================

M	io_scene_gltf2/__init__.py
M	io_scene_gltf2/io/exp/gltf2_io_draco_compression_extension.py

===================================================================

diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 31d4d279..2dc1cbf4 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -15,7 +15,7 @@
 bl_info = {
     'name': 'glTF 2.0 format',
     'author': 'Julien Duroure, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
-    "version": (0, 9, 50),
+    "version": (0, 9, 51),
     'blender': (2, 80, 0),
     'location': 'File > Import-Export',
     'description': 'Import-Export as glTF 2.0',
diff --git a/io_scene_gltf2/io/exp/gltf2_io_draco_compression_extension.py b/io_scene_gltf2/io/exp/gltf2_io_draco_compression_extension.py
index 1db5ca91..2d42ce10 100644
--- a/io_scene_gltf2/io/exp/gltf2_io_draco_compression_extension.py
+++ b/io_scene_gltf2/io/exp/gltf2_io_draco_compression_extension.py
@@ -28,7 +28,7 @@ def dll_path() -> Path:
     """
     lib_name = 'extern_draco'
     blender_root = Path(bpy.app.binary_path).parent
-    python_lib = "{v[0]}.{v[1]}/python/lib".format(v=bpy.app.version)
+    python_lib = Path("{v[0]}.{v[1]}/python/lib".format(v=bpy.app.version))
     python_version = "python{v[0]}.{v[1]}".format(v=sys.version_info)
     paths = {
         'win32': blender_root/python_lib/'site-packages'/'{}.dll'.format(lib_name),



More information about the Bf-extensions-cvs mailing list