diff options
author | Antonioya <blendergit@gmail.com> | 2016-09-11 13:22:30 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2016-09-11 13:28:09 +0300 |
commit | 347d759c623fe238c79a2d31827b8999d228fefe (patch) | |
tree | 9b32e67d45e55c6d7122885dc816dca2dcd09fdc /source/blender/editors/include | |
parent | 96f28f9b5060f823631ced28e325e5d6b11c25b4 (diff) |
GPencil: Change interpolate stroke factor
Now the factor works similar to other Blender areas to make the factor
more consistent for artists. The value 0% means equal to original
stroke, 100% equal to final stroke (50% means half way). Any value below
0% or greater than 100% create an overshoot of the stroke.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_gpencil.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h index e53f29ef6b7..bc93b5622cb 100644 --- a/source/blender/editors/include/ED_gpencil.h +++ b/source/blender/editors/include/ED_gpencil.h @@ -73,7 +73,10 @@ typedef struct tGPDinterpolate { int cframe; /* current frame number */ ListBase ilayers; /* (tGPDinterpolate_layer) layers to be interpolated */ - float shift; /* -1/1 value for determining the displacement influence */ + float shift; /* value for determining the displacement influence */ + float init_factor; /* initial interpolation factor for active layer */ + float low_limit; /* shift low limit (-100%) */ + float high_limit; /* shift upper limit (200%) */ int flag; /* flag from toolsettings */ NumInput num; /* numeric input */ |