Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2019-08-24 13:56:09 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-08-24 13:56:35 +0300
commit54e504f32b1a14a632f1a5b4a7dc5f2fd309c435 (patch)
tree73fc17bd093a4e563e3619ed5c6f358196c70b8f
parent4405b5c5a268e0c159b3c59d3f271ab8288b0468 (diff)
glTF exporter: proper OS path handle
-rwxr-xr-xio_scene_gltf2/__init__.py2
-rw-r--r--io_scene_gltf2/io/exp/gltf2_io_draco_compression_extension.py2
2 files changed, 2 insertions, 2 deletions
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),