From 930ae8e3c422f6c875ae933480dc4a4a9b2c2c51 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Thu, 9 May 2019 19:53:25 +0200 Subject: 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. --- source/blender/draw/engines/gpencil/gpencil_engine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/draw/engines/gpencil/gpencil_engine.h') 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, -- cgit v1.2.3