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:
authorVladimir Spivak(cwolf3d) <cwolf3d@gmail.com>2020-03-18 04:43:52 +0300
committerVladimir Spivak(cwolf3d) <cwolf3d@gmail.com>2020-03-18 04:43:52 +0300
commit51990bc0e661a9b6f13fceb6d9a1c40c1cf25d8d (patch)
treea99fccd76c0abb7126d022a31d8fb4d1b19a304a /mesh_bsurfaces.py
parent636b4ca23dbe1290c8954018fc94cbba54c786e1 (diff)
Addon: BSurfaces: Fix. 3D cursor location does not affect surface creation.
Diffstat (limited to 'mesh_bsurfaces.py')
-rw-r--r--mesh_bsurfaces.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py
index 705776d3..c0c7a4f9 100644
--- a/mesh_bsurfaces.py
+++ b/mesh_bsurfaces.py
@@ -20,7 +20,7 @@
bl_info = {
"name": "Bsurfaces GPL Edition",
"author": "Eclectiel, Vladimir Spivak (cwolf3d)",
- "version": (1, 7, 7),
+ "version": (1, 7, 8),
"blender": (2, 80, 0),
"location": "View3D EditMode > Sidebar > Edit Tab",
"description": "Modeling and retopology tool",
@@ -3045,6 +3045,9 @@ class MESH_OT_SURFSK_add_surface(Operator):
me_surf = bpy.data.meshes.new(surf_me_name)
me_surf.from_pydata(all_surface_verts_co, [], all_surface_faces)
ob_surface = object_utils.object_data_add(context, me_surf)
+ ob_surface.location = (0.0, 0.0, 0.0)
+ ob_surface.rotation_euler = (0.0, 0.0, 0.0)
+ ob_surface.scale = (1.0, 1.0, 1.0)
# Select all the "unselected but participating" verts, from closed selection
# or double selections with middle-vertex, for later join with remove doubles