Blender Git Commit Log

Git Commits -> Revision 85a11fd

July 3, 2020, 15:20 (GMT)
GPencil: Review of curve <> stroke conversion

This commit introduces a new flag GP_STROKE_NEEDS_CURVE_UPDATE in the stroke
that replaces GP_CURVE_RECALC_GEOMETRY. The name was not consistent and
it didn't make much sense to have it in the editcurve. Another flag was
added: GP_CURVE_NEEDS_STROKE_UPDATE. This indicates that the curve data
is dirty and needs to be regenerated.

Commit Details:

Full Hash: 85a11fd2b31275a74f092011a1e22016c5b1a379
Parent Commit: 02215ea
Lines Changed: +86, -76

7 Modified Paths:

/source/blender/blenkernel/intern/gpencil_curve.c (+15, -47) (Diff)
/source/blender/blenkernel/intern/gpencil_geom.c (+5, -5) (Diff)
/source/blender/editors/gpencil/gpencil_edit_curve.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_convert_gpencil.c (+6, -3) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+5, -2) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+49, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021