Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/paint.c
| Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | IDTypeInfo IDType_ID_PAL = { | ||||
| .foreach_cache = NULL, | .foreach_cache = NULL, | ||||
| .blend_write = palette_blend_write, | .blend_write = palette_blend_write, | ||||
| .blend_read_data = palette_blend_read_data, | .blend_read_data = palette_blend_read_data, | ||||
| .blend_read_lib = NULL, | .blend_read_lib = NULL, | ||||
| .blend_read_expand = NULL, | .blend_read_expand = NULL, | ||||
| .blend_read_undo_preserve = palette_undo_preserve, | .blend_read_undo_preserve = palette_undo_preserve, | ||||
| .lib_override_apply_post = NULL, | |||||
| }; | }; | ||||
| static void paint_curve_copy_data(Main *UNUSED(bmain), | static void paint_curve_copy_data(Main *UNUSED(bmain), | ||||
| ID *id_dst, | ID *id_dst, | ||||
| const ID *id_src, | const ID *id_src, | ||||
| const int UNUSED(flag)) | const int UNUSED(flag)) | ||||
| { | { | ||||
| PaintCurve *paint_curve_dst = (PaintCurve *)id_dst; | PaintCurve *paint_curve_dst = (PaintCurve *)id_dst; | ||||
| ▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | IDTypeInfo IDType_ID_PC = { | ||||
| .foreach_cache = NULL, | .foreach_cache = NULL, | ||||
| .blend_write = paint_curve_blend_write, | .blend_write = paint_curve_blend_write, | ||||
| .blend_read_data = paint_curve_blend_read_data, | .blend_read_data = paint_curve_blend_read_data, | ||||
| .blend_read_lib = NULL, | .blend_read_lib = NULL, | ||||
| .blend_read_expand = NULL, | .blend_read_expand = NULL, | ||||
| .blend_read_undo_preserve = NULL, | .blend_read_undo_preserve = NULL, | ||||
| .lib_override_apply_post = NULL, | |||||
| }; | }; | ||||
| const char PAINT_CURSOR_SCULPT[3] = {255, 100, 100}; | const char PAINT_CURSOR_SCULPT[3] = {255, 100, 100}; | ||||
| const char PAINT_CURSOR_VERTEX_PAINT[3] = {255, 255, 255}; | const char PAINT_CURSOR_VERTEX_PAINT[3] = {255, 255, 255}; | ||||
| const char PAINT_CURSOR_WEIGHT_PAINT[3] = {200, 200, 255}; | const char PAINT_CURSOR_WEIGHT_PAINT[3] = {200, 200, 255}; | ||||
| const char PAINT_CURSOR_TEXTURE_PAINT[3] = {255, 255, 255}; | const char PAINT_CURSOR_TEXTURE_PAINT[3] = {255, 255, 255}; | ||||
| static ePaintOverlayControlFlags overlay_flags = 0; | static ePaintOverlayControlFlags overlay_flags = 0; | ||||
| ▲ Show 20 Lines • Show All 2,013 Lines • Show Last 20 Lines | |||||