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:
authorCharlie Jolly <mistajolly@gmail.com>2018-12-04 18:21:09 +0300
committerCharlie Jolly <mistajolly@gmail.com>2018-12-05 18:59:23 +0300
commit94503efb126526a31d62be6363d8562651f43f0a (patch)
treebeded5f1c71dd8b76490e1dd362602babedb2160 /source/blender/editors/gpencil/gpencil_intern.h
parentcdf626615d99f3a73ba453f0ebcada88d20ca8bb (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.h7
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 */