diff --git a/Addons/PolyQuilt/__init__.py b/Addons/PolyQuilt/__init__.py index 4f7c674..4bab27e 100644 --- a/Addons/PolyQuilt/__init__.py +++ b/Addons/PolyQuilt/__init__.py @@ -14,7 +14,7 @@ bl_info = { "name" : "PolyQuilt", "author" : "Sakana3", - "version": (1, 1, 5), + "version": (1, 2, 0), "blender" : (2, 80, 0), "location": "View3D > Mesh > PolyQuilt", "description": "Lowpoly Tool", diff --git a/Addons/PolyQuilt/subtools/subtool_polypen.py b/Addons/PolyQuilt/subtools/subtool_polypen.py index 7ea2469..b081277 100644 --- a/Addons/PolyQuilt/subtools/subtool_polypen.py +++ b/Addons/PolyQuilt/subtools/subtool_polypen.py @@ -193,7 +193,7 @@ def AdsorptionEdge( self , p0 , p1 , edge ) : vp = [ pqutil.location_3d_to_region_2d(v.co) for v in wp ] - ret = Ret(WorldPos = [ v.co for v in wp] , ViewPos = vp , Center = (vp[0]+vp[1]) / 2 , Verts = wp ) + ret = Ret(WorldPos = [ self.bmo.obj.matrix_world @ v.co for v in wp] , ViewPos = vp , Center = (vp[0]+vp[1]) / 2 , Verts = wp ) return ret