Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/editaction_gpencil.c
| Context not available. | |||||
| /* make a copy of stroke, then of its points array */ | /* make a copy of stroke, then of its points array */ | ||||
| gpsn = MEM_dupallocN(gps); | gpsn = MEM_dupallocN(gps); | ||||
| gpsn->points = MEM_dupallocN(gps->points); | gpsn->points = MEM_dupallocN(gps->points); | ||||
| BKE_gpencil_stroke_weights_duplicate(gps, gpsn); | |||||
| /* duplicate triangle information */ | /* duplicate triangle information */ | ||||
| gpsn->triangles = MEM_dupallocN(gps->triangles); | gpsn->triangles = MEM_dupallocN(gps->triangles); | ||||
| /* append stroke to frame */ | /* append stroke to frame */ | ||||
| Context not available. | |||||