build fix: recent commit broke building on 64bit linux

This commit is contained in:
Campbell Barton 2012-11-12 03:37:28 +00:00
parent 5d8a207b67
commit 955b5db5e9
3 changed files with 4 additions and 6 deletions

@ -130,7 +130,7 @@ In this situation you can...
* Exit edit-mode before running the tool.
* Explicitly update the mesh by calling :class:`bmesh.types.BMesh.to_mesh`.
* Modify the script to support working on the edit-mode data directly, see: :mod:`bmesh.from_edit_mesh`.
* Report the context as incorrect and only allow the script to run when editmode is disabled.
* Report the context as incorrect and only allow the script to run outside edit-mode.
.. _info_gotcha_mesh_faces:

@ -780,7 +780,7 @@ static short gp_stroke_eraser_splitdel(bGPDframe *gpf, bGPDstroke *gps, int i)
float delta = pt_tmp[1].time;
int j;
gps->inittime += delta;
gps->inittime += (double)delta;
pts = gps->points;
for (j = 0; j < gps->totpoints; j++, pts++) {
@ -817,7 +817,7 @@ static short gp_stroke_eraser_splitdel(bGPDframe *gpf, bGPDstroke *gps, int i)
float delta = pt_tmp[i].time;
int j;
gsn->inittime += delta;
gsn->inittime += (double)delta;
pts = gsn->points;
for (j = 0; j < gsn->totpoints; j++, pts++) {

@ -56,10 +56,8 @@ typedef struct bGPDstroke {
short thickness; /* thickness of stroke (currently not used) */
short flag; /* various settings about this stroke */
float pad;
double inittime; /* Init time of stroke */
float pad2;
} bGPDstroke;
/* bGPDstroke->flag */