diff options
author | Spivak Vladimir (cwolf3d) <cwolf3d@gmail.com> | 2019-08-09 19:16:03 +0300 |
---|---|---|
committer | Spivak Vladimir (cwolf3d) <cwolf3d@gmail.com> | 2019-08-09 19:16:31 +0300 |
commit | 2833b1a115a00e518eaa2c9f53752881b5256af2 (patch) | |
tree | aff2701b02d06055ecc62d2789a7aab19b403262 /mesh_bsurfaces.py | |
parent | b64795256fef94da5e00509826a710ee42eaf9a2 (diff) |
Addon: BSurfaces: Fixed https://developer.blender.org/T68451
Bsurfaces can't create rectangular surface inside an L shaped surface
Diffstat (limited to 'mesh_bsurfaces.py')
-rw-r--r-- | mesh_bsurfaces.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py index 3291134f..4e7e4576 100644 --- a/mesh_bsurfaces.py +++ b/mesh_bsurfaces.py @@ -1727,12 +1727,12 @@ class GPENCIL_OT_SURFSK_add_surface(Operator): self.main_object_selected_verts_count == 0: ob_surface.data.vertices[i].co = final_ob_duplicate.data.vertices[i].co - ob_surface.data.vertices[i].select_set(True) + ob_surface.data.vertices[i].select = True crosshatch_verts_to_merge.append(i) # Make sure the vert in the main object is selected, # in case it wasn't selected and the "join crosshatch" option is active - self.main_object.data.vertices[main_object_related_vert_idx].select_set(True) + self.main_object.data.vertices[main_object_related_vert_idx].select = True # Delete duplicated object bpy.ops.object.delete({"selected_objects": [final_ob_duplicate]}) @@ -2721,7 +2721,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator): # Move the first vert to the center coordinates ob_ctrl_pts.data.vertices[first_verts[i]].co = verts_center_co # Select the last verts from Cyclic loops, for later deletion all at once - v[last_verts[i]].select_set(True) + v[last_verts[i]].select = True else: cyclic_loops_U.append(False) else: @@ -3056,7 +3056,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator): # Select all the "unselected but participating" verts, from closed selection # or double selections with middle-vertex, for later join with remove doubles for v_idx in single_unselected_verts: - self.main_object.data.vertices[v_idx].select_set(True) + self.main_object.data.vertices[v_idx].select = True # Join the new mesh to the main object ob_surface.select_set(True) @@ -4168,11 +4168,11 @@ class BsurfacesProps(PropertyGroup): max=100 ) SURFSK_object_with_retopology: PointerProperty( - name="Retopology", + name="Mesh of BSurface", type=bpy.types.Object ) SURFSK_object_with_strokes: PointerProperty( - name="Strokes", + name="GPensil or Curve object", type=bpy.types.Object ) |