211 Material *ma = (
brush->gpencil_settings) ?
brush->gpencil_settings->material :
nullptr;
284 if (primitive_tools.
contains(tref->idname)) {
351 "GREASE_PENCIL_OT_duplicate_move",
353 "Make copies of the selected Grease Pencil strokes and move them",
362 "Subdivide and Smooth",
363 "Subdivide strokes and smooth them",
370 "Extrude Stroke Points",
371 "Extrude selected points and move them",
General operations, lookup, etc. for materials.
#define ID_IS_LINKED(_id)
bool contains(const Key &key) const
bool active_grease_pencil_poll(bContext *C)
static void keymap_grease_pencil_edit_mode(wmKeyConfig *keyconf)
static void keymap_grease_pencil_vertex_paint_mode(wmKeyConfig *keyconf)
static void keymap_grease_pencil_fill_tool(wmKeyConfig *keyconf)
GreasePencil * from_context(bContext &C)
bool grease_pencil_vertex_painting_poll(bContext *C)
static bool keymap_grease_pencil_fill_tool_poll(bContext *C)
bool editable_grease_pencil_point_selection_poll(bContext *C)
static void keymap_grease_pencil_paint_mode(wmKeyConfig *keyconf)
bool editable_grease_pencil_with_region_view3d_poll(bContext *C)
static void keymap_grease_pencil_weight_paint_mode(wmKeyConfig *keyconf)
bool check_brush_needs_new_material(Object *ob, const Brush *brush)
bool editable_grease_pencil_poll(bContext *C)
bool grease_pencil_selection_poll(bContext *C)
static void keymap_grease_pencil_sculpt_mode(wmKeyConfig *keyconf)
bool grease_pencil_sculpting_poll(bContext *C)
static void keymap_grease_pencil_selection(wmKeyConfig *keyconf)
static bool keymap_grease_pencil_brush_stroke_poll(bContext *C)
static void keymap_grease_pencil_brush_stroke(wmKeyConfig *keyconf)
bool grease_pencil_weight_painting_poll(bContext *C)
bool active_grease_pencil_material_poll(bContext *C)
bool grease_pencil_context_poll(bContext *C)
bool active_grease_pencil_layer_group_poll(bContext *C)
bool grease_pencil_edit_poll(bContext *C)
bool grease_pencil_painting_poll(bContext *C)
bool active_grease_pencil_layer_poll(bContext *C)
void ED_operatormacros_grease_pencil()
short * BKE_object_material_len_p(Object *ob)
void ED_keymap_grease_pencil(wmKeyConfig *keyconf)
void ED_grease_pencil_pentool_modal_keymap(wmKeyConfig *keyconf)
wmOperatorTypeMacro * WM_operatortype_macro_define(wmOperatorType *ot, const char *idname)
void ED_operatortypes_grease_pencil_bake_animation()
void ED_operatortypes_grease_pencil_select()
void ED_operatortypes_grease_pencil_frames()
void ED_operatortypes_grease_pencil_edit()
void ED_operatortypes_grease_pencil_interpolate()
void ED_interpolatetool_modal_keymap(wmKeyConfig *keyconf)
void ED_operatortypes_grease_pencil_draw()
void ED_primitivetool_modal_keymap(wmKeyConfig *keyconf)
@ OB_MODE_VERTEX_GREASE_PENCIL
@ OB_MODE_SCULPT_GREASE_PENCIL
@ OB_MODE_WEIGHT_GREASE_PENCIL
@ OB_MODE_PAINT_GREASE_PENCIL
void ED_operatortypes_grease_pencil_layers()
void ED_operatortypes_grease_pencil_weight_paint()
void ED_operatortypes_grease_pencil_modes()
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
ToolSettings * CTX_data_tool_settings(const bContext *C)
int BKE_object_material_index_get(Object *ob, const Material *ma)
void RNA_boolean_set(PointerRNA *ptr, const char *name, bool value)
void ED_operatortypes_grease_pencil_pen()
void ED_operatortypes_grease_pencil()
wmOperatorType * WM_operatortype_append_macro(const char *idname, const char *name, const char *description, int flag)
void ED_operatortypes_grease_pencil_join()
bToolRef * WM_toolsystem_ref_from_context(const bContext *C)
bool WM_toolsystem_active_tool_is_brush(const bContext *C)
void ED_operatortypes_grease_pencil_material()
void ED_operatortypes_grease_pencil_lineart()
bool ED_operator_region_view3d_active(bContext *C)
void ED_operatortypes_grease_pencil_vertex_paint()
void ED_operatortypes_grease_pencil_primitives()
Brush * BKE_paint_brush(Paint *paint)
@ GP_BRUSH_MATERIAL_PINNED
void ED_filltool_modal_keymap(wmKeyConfig *keyconf)
Object * CTX_data_active_object(const bContext *C)
bool ED_operator_object_active_editable_ex(bContext *C, const Object *ob)
void ED_operatortypes_grease_pencil_trace()
bool(*) poll(struct bContext *)