diff options
author | Ramil Roosileht <Limarest> | 2022-08-04 00:08:23 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-08-04 00:09:37 +0300 |
commit | a217e565756631aa26ed2ef490e9739a7824a33e (patch) | |
tree | 343e8322df766ec99d18734a09d6b08dc8cc02c8 /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 9d7aac6d66c9e5c1d418f9fbd4b82415ec171e38 (diff) |
Sculpt: Support gradient color mode in sculpt paint brush
T99614
Support for gradient mode in sculpt paint brush
{F13316165}
Reviewed By: Joseph Eagar & Julian Kaspar
Differential Revision: https://developer.blender.org/D15502
Ref D15502
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 86f89c3c2fa..6a10f7cad18 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -489,6 +489,7 @@ typedef struct StrokeCache { float true_last_location[3]; float location[3]; float last_location[3]; + float stroke_distance; /* Used for alternating between deformation in brushes that need to apply different ones to * achieve certain effects. */ |