From 5d79c2662e043c35feeb4a31f3c5eb288e93c9c1 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sun, 13 Apr 2014 18:14:45 +0300 Subject: 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/makesdna/DNA_scene_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_scene_types.h') diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index b92aafd610b..aada838fce5 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -941,7 +941,7 @@ typedef struct UnifiedPaintSettings { int stroke_active; /* drawing pressure */ - float pressure_value; + float size_pressure_value; /* position of mouse, used to sample the texture */ float tex_mouse[2]; -- cgit v1.2.3