add option to convert grease pencil into poly line directly.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 20 Mar 2013 15:01:15 +0000 (15:01 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 20 Mar 2013 15:01:15 +0000 (15:01 +0000)
commitd4af049fabd4c388c1b1ed6c031030dac2efc0ec
tree763f96d5efba006bef1031633df90bac0cd68eae
parentf88e48fa55497c1f7d977f36a48555a42625a495
add option to convert grease pencil into poly line directly.

Without this, bezier curves at 12 resolution are very high detail for many tasks when converted from freehand strokes.
so add the option to convert 1:1 grease pencil points to curve polygons.

also add use_handles option to curve conversion which is used when converting beziers to poly lines.
source/blender/blenkernel/BKE_curve.h
source/blender/blenkernel/intern/curve.c
source/blender/editors/curve/editcurve.c
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/include/ED_curve.h
source/blender/makesrna/intern/rna_curve.c