[Bf-extensions-cvs] [fd4a036] master: Remove workaround for uuid, resolved with the Python3.4x and MSVC2013 move.

Campbell Barton noreply at git.blender.org
Mon May 5 22:21:42 CEST 2014


Commit: fd4a036291d7a5a725f86cd7c50a7687a71ae3f2
Author: Campbell Barton
Date:   Tue May 6 06:21:08 2014 +1000
https://developer.blender.org/rBAfd4a036291d7a5a725f86cd7c50a7687a71ae3f2

Remove workaround for uuid, resolved with the Python3.4x and MSVC2013 move.

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

M	io_online_sketchfab/__init__.py

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

diff --git a/io_online_sketchfab/__init__.py b/io_online_sketchfab/__init__.py
index b39f4f7..c5ad23b 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



More information about the Bf-extensions-cvs mailing list