Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/gpencil_edit.c
| Context not available. | |||||
| temp_dverts = MEM_dupallocN(gps->dvert); | temp_dverts = MEM_dupallocN(gps->dvert); | ||||
| } | } | ||||
| /* resize the points arrys */ | /* resize the points arrays */ | ||||
| gps->totpoints += totnewpoints; | gps->totpoints += totnewpoints; | ||||
| gps->points = MEM_recallocN(gps->points, sizeof(*gps->points) * gps->totpoints); | gps->points = MEM_recallocN(gps->points, sizeof(*gps->points) * gps->totpoints); | ||||
| if (gps->dvert != NULL) { | if (gps->dvert != NULL) { | ||||
| Context not available. | |||||
| RNA_def_property_flag(prop, PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_SKIP_SAVE); | ||||
| } | } | ||||
| /* ** simplify stroke using fixed algorith *** */ | /* ** simplify stroke using fixed algorithm *** */ | ||||
| static int gp_stroke_simplify_fixed_exec(bContext *C, wmOperator *op) | static int gp_stroke_simplify_fixed_exec(bContext *C, wmOperator *op) | ||||
| { | { | ||||
| bGPdata *gpd = ED_gpencil_data_get_active(C); | bGPdata *gpd = ED_gpencil_data_get_active(C); | ||||
| Context not available. | |||||