Brushstroke Tools: Initial Version #328
@ -515,7 +515,7 @@ def edit_active_brushstrokes(context):
|
||||
|
||||
# enter mode and tool context
|
||||
if active_object.type=='GREASEPENCIL':
|
||||
bpy.ops.object.mode_set(mode='PAINT_GPENCIL')
|
||||
bpy.ops.object.mode_set(mode='PAINT_GREASE_PENCIL')
|
||||
bpy.ops.wm.tool_set_by_id(name="builtin.draw")
|
||||
context.scene.tool_settings.gpencil_stroke_placement_view3d = 'SURFACE'
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user