Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/gpencil_convert.c
| Show First 20 Lines • Show All 1,403 Lines • ▼ Show 20 Lines | switch (mode) { | ||||
| minmax_weights, | minmax_weights, | ||||
| rad_fac, | rad_fac, | ||||
| stitch, | stitch, | ||||
| add_start_point, | add_start_point, | ||||
| add_end_point, | add_end_point, | ||||
| gtd); | gtd); | ||||
| break; | break; | ||||
| default: | default: | ||||
| BLI_assert(!"invalid mode"); | BLI_assert_msg(0, "invalid mode"); | ||||
| break; | break; | ||||
| } | } | ||||
| prev_gps = gps; | prev_gps = gps; | ||||
| } | } | ||||
| /* If link_strokes, be sure first and last points have a zero weight/size! */ | /* If link_strokes, be sure first and last points have a zero weight/size! */ | ||||
| if (link_strokes) { | if (link_strokes) { | ||||
| gpencil_stroke_finalize_curve_endpoints(cu); | gpencil_stroke_finalize_curve_endpoints(cu); | ||||
| ▲ Show 20 Lines • Show All 491 Lines • Show Last 20 Lines | |||||