diff options
author | Charlie Jolly <mistajolly@gmail.com> | 2018-12-04 18:21:09 +0300 |
---|---|---|
committer | Charlie Jolly <mistajolly@gmail.com> | 2018-12-05 18:59:23 +0300 |
commit | 94503efb126526a31d62be6363d8562651f43f0a (patch) | |
tree | beded5f1c71dd8b76490e1dd362602babedb2160 /source/blender/editors/gpencil/gpencil_intern.h | |
parent | cdf626615d99f3a73ba453f0ebcada88d20ca8bb (diff) |
GP: Fix precision issue with Circle and Arc tools
Differential Revision: https://developer.blender.org/D4030
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index 5db5c0f2571..6d05afa0e8d 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -228,6 +228,13 @@ void gp_stroke_convertcoords_tpoint( bGPDlayer *gpl, const struct tGPspoint *point2D, float *depth, float out[3]); +/* helper to convert 2d to 3d for primitive. See: D4030 */ +void gp_stroke_convertcoords_tpoint_primitive( + struct Scene *scene, struct ARegion *ar, + struct Object *ob, + bGPDlayer *gpl, const struct tPGPspoint *point2D, + float out[3]); + /* Poll Callbacks ------------------------------------ */ /* gpencil_utils.c */ |