diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-03-06 17:24:15 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-03-06 17:24:15 +0300 |
commit | 69d4aec55f9c5bc64c58e43edefc6687fcb9d08b (patch) | |
tree | ded4a8da676e18914499a2b125226d2231308f87 /source/blender/editors/sculpt_paint/paint_stroke.c | |
parent | b201a67faa350ef1f8f7a27997b82ec19551c11d (diff) |
Cleanup: Use the SCULPT_ prefix in all sculpt_intern functions
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_stroke.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 2fb89a49016..90341fa8248 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -560,7 +560,7 @@ static void paint_brush_stroke_add_step(bContext *C, stroke->last_pressure = pressure; if (paint_stroke_use_scene_spacing(brush, mode)) { - sculpt_stroke_get_location(C, stroke->last_world_space_position, stroke->last_mouse_position); + SCULPT_stroke_get_location(C, stroke->last_world_space_position, stroke->last_mouse_position); mul_m4_v3(stroke->vc.obact->obmat, stroke->last_world_space_position); } @@ -817,7 +817,7 @@ static int paint_space_stroke(bContext *C, if (use_scene_spacing) { float world_space_position[3]; - bool hit = sculpt_stroke_get_location(C, world_space_position, final_mouse); + bool hit = SCULPT_stroke_get_location(C, world_space_position, final_mouse); mul_m4_v3(stroke->vc.obact->obmat, world_space_position); if (hit && stroke->stroke_over_mesh) { sub_v3_v3v3(d_world_space_position, world_space_position, stroke->last_world_space_position); @@ -1403,7 +1403,7 @@ int paint_stroke_modal(bContext *C, wmOperator *op, const wmEvent *event) stroke->last_pressure = sample_average.pressure; copy_v2_v2(stroke->last_mouse_position, sample_average.mouse); if (paint_stroke_use_scene_spacing(br, mode)) { - stroke->stroke_over_mesh = sculpt_stroke_get_location( + stroke->stroke_over_mesh = SCULPT_stroke_get_location( C, stroke->last_world_space_position, sample_average.mouse); mul_m4_v3(stroke->vc.obact->obmat, stroke->last_world_space_position); } |