diff options
author | lijenstina <lijenstina@gmail.com> | 2017-06-06 22:53:03 +0300 |
---|---|---|
committer | lijenstina <lijenstina@gmail.com> | 2017-06-06 22:53:03 +0300 |
commit | 800dc7e3306413effcd1b683f7eeca0d602a78cf (patch) | |
tree | f23443eee822a61fffa1f4948e43ab82d51b76bc /uv_magic_uv/muv_texlock_ops.py | |
parent | 473d074b34b66d6f674bb2f06153533c9b636fd1 (diff) |
Magic UV: Replace deprecated imp call, mode fix
Bump version to 4.3.1
Replace the deprecated imp calls with importlib
Imports as tuples
Some minor cleanup
Fix crash with MUV_TexProjProject by checking for edit mode,
add a poll for active object of type Mesh
Fix crash with MUV_PreserveUVAspect not having an image
in the faces loop tex data in certain cases
Diffstat (limited to 'uv_magic_uv/muv_texlock_ops.py')
-rw-r--r-- | uv_magic_uv/muv_texlock_ops.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/uv_magic_uv/muv_texlock_ops.py b/uv_magic_uv/muv_texlock_ops.py index a3ddda2b..f3ff499e 100644 --- a/uv_magic_uv/muv_texlock_ops.py +++ b/uv_magic_uv/muv_texlock_ops.py @@ -20,11 +20,14 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "4.3" -__date__ = "1 Apr 2017" +__version__ = "4.3.1" +__date__ = "6 June 2017" import math -from math import atan2, cos, sqrt, sin, fabs +from math import ( + atan2, cos, + sqrt, sin, fabs, + ) import bpy import bmesh |