Fixed Python 3.6 / 2.79b incompatibilities introduced in 1.9.3

This commit is contained in:
2018-11-01 18:39:06 +01:00
parent dc7ad296bf
commit 69028e0cfd
3 changed files with 194 additions and 1 deletions

View File

@@ -48,7 +48,12 @@ if "bpy" in locals():
async_loop = importlib.reload(async_loop)
blender = importlib.reload(blender)
else:
from . import draw
import bpy
if bpy.app.version < (2, 80):
from . import draw_27 as draw
else:
from . import draw
from .. import pillar, async_loop, blender
import bpy