diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-04-13 19:14:45 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-04-13 19:14:45 +0400 |
commit | 5d79c2662e043c35feeb4a31f3c5eb288e93c9c1 (patch) | |
tree | 57c02e33dbd6885caeb690cddda50872254794cd /source/blender/editors/sculpt_paint/paint_vertex.c | |
parent | 301d7d2f63f3e9e5560500c225f9ae437075418f (diff) |
Cleanup:
Naming:
Change pressure to size_pressure, it notes correctly that this value is
updated and expected to be used for size updating only.
Change name of cursor function and since it is used for uv sculpting
only now move to the relevant file. Also cleanup unneeded functionality
from function.
Stroke:
Separate updating of stroke variables to invariants (updated when
stroke->init = false) and variants.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index d90f9a80b37..1d127cd5f4e 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -2496,11 +2496,6 @@ static void wpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P swap_m4m4(vc->rv3d->persmat, mat); - { - UnifiedPaintSettings *ups = &ts->unified_paint_settings; - ups->pressure_value = pressure; - } - DAG_id_tag_update(ob->data, 0); ED_region_tag_redraw(vc->ar); } @@ -3017,11 +3012,6 @@ static void vpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P do_shared_vertexcol(me, vpd->mlooptag, vpd->mfacetag, do_tessface); } - { - UnifiedPaintSettings *ups = &ts->unified_paint_settings; - ups->pressure_value = pressure; - } - ED_region_tag_redraw(vc->ar); if (vpd->use_fast_update == false) { |