Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-01-22 19:54:19 +0300
committerAntonioya <blendergit@gmail.com>2019-01-22 19:54:41 +0300
commit25889423d324b386dd6cf9cf60f52ae71f3f5179 (patch)
treed310fcbcda509310ec8e06968a62b64d24cd3690 /source/blender/editors/gpencil/gpencil_intern.h
parent63729bc11f9f99fe4e00cae0ddcbff6220b9715b (diff)
GP: Recalc UV data for primitive strokes
The data was not caculated when complete a primitive and it was only updated when use Edit mode.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r--source/blender/editors/gpencil/gpencil_intern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h
index dd7b2c0d8bd..8530f729889 100644
--- a/source/blender/editors/gpencil/gpencil_intern.h
+++ b/source/blender/editors/gpencil/gpencil_intern.h
@@ -236,6 +236,9 @@ typedef struct tGPDprimitive {
/** numeric input */
NumInput num;
+
+ /** size in pixels for uv calculation */
+ float totpixlen;
} tGPDprimitive;