Cleanup: Clarify alloc comment text

This commit is contained in:
Antonio Vazquez
2019-08-25 17:13:13 +02:00
parent a67f218b54
commit 63533a0c7d

View File

@@ -497,7 +497,7 @@ static void gp_brush_grab_stroke_init(tGP_BrushEditData *gso, bGPDstroke *gps)
data->points = MEM_callocN(sizeof(int) * data->capacity, "GP Stroke Grab Indices");
data->weights = MEM_callocN(sizeof(float) * data->capacity, "GP Stroke Grab Weights");
data->rot_eval = MEM_callocN(sizeof(float) * data->capacity, "GP Stroke Grab X");
data->rot_eval = MEM_callocN(sizeof(float) * data->capacity, "GP Stroke Grab Rotations");
/* hook up to the cache */
BLI_ghash_insert(gso->stroke_customdata, gps, data);