diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-06 00:21:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-06 00:21:08 +0400 |
commit | fd4a036291d7a5a725f86cd7c50a7687a71ae3f2 (patch) | |
tree | cdc23818514397f6653d7f2ceaf02f0b6d70a6d7 /io_online_sketchfab | |
parent | 1982bab4da0ffa180a1a30735590414f8331bf85 (diff) |
Remove workaround for uuid, resolved with the Python3.4x and MSVC2013 move.
Diffstat (limited to 'io_online_sketchfab')
-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 |