diff options
Diffstat (limited to 'mesh_bsurfaces.py')
-rw-r--r-- | mesh_bsurfaces.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py index fe18df32..8af6054c 100644 --- a/mesh_bsurfaces.py +++ b/mesh_bsurfaces.py @@ -3752,8 +3752,8 @@ class GPENCIL_OT_SURFSK_edit_strokes(Operator): gpencil_object.select_set(True) bpy.context.view_layer.objects.active = gpencil_object - bpy.ops.object.mode_set('INVOKE_REGION_WIN', mode='PAINT_GPENCIL') - bpy.ops.wm.tool_set_by_id(name="builtin_brush.Draw") + bpy.ops.object.mode_set('INVOKE_REGION_WIN', mode='EDIT_GPENCIL') + bpy.ops.gpencil.select_all(action='SELECT') def invoke(self, context, event): try: |