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_preferences.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_preferences.py')
-rw-r--r-- | uv_magic_uv/muv_preferences.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/uv_magic_uv/muv_preferences.py b/uv_magic_uv/muv_preferences.py index 7e13c6ea..f80ad28e 100644 --- a/uv_magic_uv/muv_preferences.py +++ b/uv_magic_uv/muv_preferences.py @@ -20,11 +20,14 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "4.3" -__date__ = "1 Apr 2017" - - -from bpy.props import BoolProperty, FloatProperty, FloatVectorProperty +__version__ = "4.3.1" +__date__ = "6 June 2017" + +from bpy.props import ( + BoolProperty, + FloatProperty, + FloatVectorProperty, + ) from bpy.types import AddonPreferences @@ -44,7 +47,7 @@ class MUV_Preferences(AddonPreferences): # for Texture Projection texproj_canvas_padding = FloatVectorProperty( name="Canvas Padding", - description="Canvas Padding.", + description="Canvas Padding", size=2, max=50.0, min=0.0, |