Cleanup:
authorAntony Riakiotakis <kalast@gmail.com>
Sun, 13 Apr 2014 15:14:45 +0000 (18:14 +0300)
committerAntony Riakiotakis <kalast@gmail.com>
Sun, 13 Apr 2014 15:14:45 +0000 (18:14 +0300)
commit5d79c2662e043c35feeb4a31f3c5eb288e93c9c1
tree57c02e33dbd6885caeb690cddda50872254794cd
parent301d7d2f63f3e9e5560500c225f9ae437075418f
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.
source/blender/editors/sculpt_paint/paint_cursor.c
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/sculpt_paint/paint_intern.h
source/blender/editors/sculpt_paint/paint_stroke.c
source/blender/editors/sculpt_paint/paint_vertex.c
source/blender/editors/sculpt_paint/sculpt_uv.c
source/blender/makesdna/DNA_scene_types.h