GPv3: Show Line Art options in Object > Add menu
The Object > Add > Grease Pencil menu will now show Scene/Collection/Object Line Art options. Pull Request: https://projects.blender.org/blender/blender/pulls/118833
This commit is contained in:
@@ -2589,6 +2589,13 @@ class VIEW3D_MT_grease_pencil_add(Menu):
|
||||
layout.operator("object.grease_pencil_add", text="Empty", icon='EMPTY_AXIS').type = 'EMPTY'
|
||||
layout.operator("object.grease_pencil_add", text="Stroke", icon='STROKE').type = 'STROKE'
|
||||
layout.operator("object.grease_pencil_add", text="Suzanne", icon='MONKEY').type = 'MONKEY'
|
||||
layout.separator()
|
||||
layout.operator("object.grease_pencil_add", text="Scene Line Art", icon='SCENE').type = 'LINEART_SCENE'
|
||||
layout.operator(
|
||||
"object.grease_pencil_add",
|
||||
text="Collection Line Art",
|
||||
icon='GROUP').type = 'LINEART_COLLECTION'
|
||||
layout.operator("object.grease_pencil_add", text="Object Line Art", icon='CUBE').type = 'LINEART_OBJECT'
|
||||
|
||||
|
||||
class VIEW3D_MT_add(Menu):
|
||||
|
||||
Reference in New Issue
Block a user