Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'uv_magic_uv/muv_wsuv_ops.py')
-rw-r--r--uv_magic_uv/muv_wsuv_ops.py17
1 files changed, 7 insertions, 10 deletions
diff --git a/uv_magic_uv/muv_wsuv_ops.py b/uv_magic_uv/muv_wsuv_ops.py
index debc666c..3e47d960 100644
--- a/uv_magic_uv/muv_wsuv_ops.py
+++ b/uv_magic_uv/muv_wsuv_ops.py
@@ -20,8 +20,9 @@
__author__ = "McBuff, Nutti <nutti.metro@gmail.com>"
__status__ = "production"
-__version__ = "4.3.1"
-__date__ = "6 June 2017"
+__version__ = "4.4"
+__date__ = "2 Aug 2017"
+
import bpy
import bmesh
@@ -126,6 +127,9 @@ class MUV_WSUVApply(bpy.types.Operator):
orig_area = bpy.context.area.type
bpy.context.area.type = 'IMAGE_EDITOR'
+ # select all UV related to the selected faces
+ bpy.ops.uv.select_all(action='SELECT')
+
# apply scaled UV
bpy.ops.transform.resize(
value=(ratio, ratio, ratio),
@@ -134,14 +138,7 @@ class MUV_WSUVApply(bpy.types.Operator):
mirror=False,
proportional='DISABLED',
proportional_edit_falloff='SMOOTH',
- proportional_size=1,
- snap=False,
- snap_target='CLOSEST',
- snap_point=(0, 0, 0),
- snap_align=False,
- snap_normal=(0, 0, 0),
- texture_space=False,
- release_confirm=False)
+ proportional_size=1)
bpy.context.area.type = orig_area