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:
authorSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-10-14 11:45:57 +0300
committerSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-10-14 11:45:57 +0300
commitd6934b4a5121b907c9f8d4157f632c677a9d57a9 (patch)
tree6855b619af7b680b36a292efa5d8b67b9c1c0c39 /mesh_bsurfaces.py
parent0ec4a4fd2ac1a9a0aaf550ced7e4b445a340ca4e (diff)
Addon: BSurfaces: Added edit strokes mode
Diffstat (limited to 'mesh_bsurfaces.py')
-rw-r--r--mesh_bsurfaces.py4
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: