Skip to content

Commit

Permalink
fix: ensure all scene objects are deselected before executing core si…
Browse files Browse the repository at this point in the history
…ngle_vertex operator functionality
  • Loading branch information
tristan-hm committed Apr 17, 2022
1 parent 395e727 commit 43b4e6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sketching/single_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ class ND_OT_single_vertex(bpy.types.Operator):


def execute(self, context):
bpy.ops.object.select_all(action='DESELECT')

add_single_vertex_object(self, context, "Sketch")
align_object_to_3d_cursor(self, context)

self.start_sketch_editing(context)

return {'FINISHED'}
Expand Down

0 comments on commit 43b4e6d

Please sign in to comment.