[Bf-extensions-cvs] [51990bc0] master: Addon: BSurfaces: Fix. 3D cursor location does not affect surface creation.
Vladimir Spivakcwolf3d
noreply at git.blender.org
Wed Mar 18 02:44:28 CET 2020
Commit: 51990bc0e661a9b6f13fceb6d9a1c40c1cf25d8d
Author: Vladimir Spivak(cwolf3d)
Date: Wed Mar 18 03:43:52 2020 +0200
Branches: master
https://developer.blender.org/rBA51990bc0e661a9b6f13fceb6d9a1c40c1cf25d8d
Addon: BSurfaces: Fix. 3D cursor location does not affect surface creation.
===================================================================
M mesh_bsurfaces.py
===================================================================
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
More information about the Bf-extensions-cvs
mailing list