Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
| Context not available. | |||||
| idname="builtin.annotate", | idname="builtin.annotate", | ||||
| label="Annotate", | label="Annotate", | ||||
| icon="ops.gpencil.draw", | icon="ops.gpencil.draw", | ||||
| cursor='PAINT_BRUSH', | cursor=bpy.context.preferences.view.annotate_cursor, | ||||
| keymap="Generic Tool: Annotate", | keymap="Generic Tool: Annotate", | ||||
| draw_settings=draw_settings, | draw_settings=draw_settings, | ||||
| ) | ) | ||||
| Context not available. | |||||
| idname="builtin.annotate_line", | idname="builtin.annotate_line", | ||||
| label="Annotate Line", | label="Annotate Line", | ||||
| icon="ops.gpencil.draw.line", | icon="ops.gpencil.draw.line", | ||||
| cursor='PAINT_BRUSH', | cursor=bpy.context.preferences.view.annotate_cursor, | ||||
| keymap="Generic Tool: Annotate Line", | keymap="Generic Tool: Annotate Line", | ||||
| draw_settings=draw_settings, | draw_settings=draw_settings, | ||||
| ) | ) | ||||
| Context not available. | |||||
| idname="builtin.annotate_polygon", | idname="builtin.annotate_polygon", | ||||
| label="Annotate Polygon", | label="Annotate Polygon", | ||||
| icon="ops.gpencil.draw.poly", | icon="ops.gpencil.draw.poly", | ||||
| cursor='PAINT_BRUSH', | cursor=bpy.context.preferences.view.annotate_cursor, | ||||
| keymap="Generic Tool: Annotate Polygon", | keymap="Generic Tool: Annotate Polygon", | ||||
| draw_settings=draw_settings, | draw_settings=draw_settings, | ||||
| ) | ) | ||||
| Context not available. | |||||
| return dict( | return dict( | ||||
| idname="builtin.draw", | idname="builtin.draw", | ||||
| label="Draw", | label="Draw", | ||||
| cursor='PAINT_BRUSH', | cursor=bpy.context.preferences.view.annotate_cursor, | ||||
| icon="ops.curve.draw", | icon="ops.curve.draw", | ||||
| widget=None, | widget=None, | ||||
| keymap=(), | keymap=(), | ||||
| Context not available. | |||||