e5500960a6e8e9d217c3f2ceb8fc099f411df6e2
[blender-staging.git] / source / blender / editors / sculpt_paint / paint_ops.c
1
2 #include "ED_sculpt.h"
3
4 #include "WM_api.h"
5 #include "WM_types.h"
6
7 #include "paint_intern.h"
8
9 /**************************** registration **********************************/
10
11 void ED_operatortypes_paint(void)
12 {
13         /* brush */
14         WM_operatortype_append(BRUSH_OT_curve_preset);
15
16         /* image */
17         WM_operatortype_append(PAINT_OT_texture_paint_toggle);
18         WM_operatortype_append(PAINT_OT_texture_paint_radial_control);
19         WM_operatortype_append(PAINT_OT_image_paint);
20         WM_operatortype_append(PAINT_OT_image_paint_radial_control);
21         WM_operatortype_append(PAINT_OT_sample_color);
22         WM_operatortype_append(PAINT_OT_grab_clone);
23         WM_operatortype_append(PAINT_OT_clone_cursor_set);
24
25         /* weight */
26         WM_operatortype_append(PAINT_OT_weight_paint_toggle);
27         WM_operatortype_append(PAINT_OT_weight_paint_radial_control);
28         WM_operatortype_append(PAINT_OT_weight_paint);
29
30         /* vertex */
31         WM_operatortype_append(PAINT_OT_vertex_paint_radial_control);
32         WM_operatortype_append(PAINT_OT_vertex_paint_toggle);
33         WM_operatortype_append(PAINT_OT_vertex_paint);
34 }
35