diff options
-rw-r--r-- | io_online_sketchfab/__init__.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/io_online_sketchfab/__init__.py b/io_online_sketchfab/__init__.py index b39f4f7f..c5ad23b3 100644 --- a/io_online_sketchfab/__init__.py +++ b/io_online_sketchfab/__init__.py @@ -29,22 +29,6 @@ bl_info = { "category": "Import-Export" } -if "bpy" in locals(): - pass -else: - # uuid module causes an error messagebox on windows - # - https://developer.blender.org/T38364 - # - https://developer.blender.org/T27666 - # using a dirty workaround to preload uuid without ctypes, until blender gets compiled with vs2012 - import platform - if platform.system() == "Windows": - import ctypes - CDLL = ctypes.CDLL - ctypes.CDLL = None - import uuid - ctypes.CDLL = CDLL - del ctypes, CDLL - import bpy import os import tempfile |