Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/gpencil_paint.c
| Context not available. | |||||
| curvemapping_initialize(brush->gpencil_settings->curve_strength); | curvemapping_initialize(brush->gpencil_settings->curve_strength); | ||||
| curvemapping_initialize(brush->gpencil_settings->curve_jitter); | curvemapping_initialize(brush->gpencil_settings->curve_jitter); | ||||
| /* asign to temp tGPsdata */ | /* assign to temp tGPsdata */ | ||||
| p->brush = brush; | p->brush = brush; | ||||
| if (brush->gpencil_settings->brush_type != GP_BRUSH_TYPE_ERASE) { | if (brush->gpencil_settings->brush_type != GP_BRUSH_TYPE_ERASE) { | ||||
| p->eraser = gp_get_default_eraser(p->bmain, ts); | p->eraser = gp_get_default_eraser(p->bmain, ts); | ||||
| Context not available. | |||||