diff options
author | Antonioya <blendergit@gmail.com> | 2019-05-09 20:53:25 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-05-09 20:53:25 +0300 |
commit | 930ae8e3c422f6c875ae933480dc4a4a9b2c2c51 (patch) | |
tree | d79341b2e7683199b0673c7268854b13d2331d7c /source/blender/draw/engines/gpencil/gpencil_engine.h | |
parent | 6ef48b13186c2de003c8f9d86630e66c7e5406f3 (diff) |
GPencil: Lock rotation of textures
By default the texture is locked and only the box is aligned when Follow Drawing Path is enabled.
Before, when the Follow was disabled, the texture was always aligned to top and it was not affected by object rotation. Now, the texture always is rotated with object rotation.
Diffstat (limited to 'source/blender/draw/engines/gpencil/gpencil_engine.h')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.h b/source/blender/draw/engines/gpencil/gpencil_engine.h index 2ac1dc3211c..23c39a56dab 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.h +++ b/source/blender/draw/engines/gpencil/gpencil_engine.h @@ -437,7 +437,8 @@ void DRW_gpencil_multisample_ensure(struct GPENCIL_Data *vedata, int rect_w, int void DRW_gpencil_get_point_geom(struct GpencilBatchCacheElem *be, struct bGPDstroke *gps, short thickness, - const float ink[4]); + const float ink[4], + const bool follow); void DRW_gpencil_get_stroke_geom(struct GpencilBatchCacheElem *be, struct bGPDstroke *gps, short thickness, |