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/makesdna/DNA_scene_types.h | |
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/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |