Hi, On Thu, Feb 10, 2011 at 5:40 PM, <[email protected]> wrote: > float *vert= (float *)MEM_callocN(3*me->totverts*sizeof(float ), > "vertsmooth"); > eve= em->verts.first; > int counter = 0; > while(eve) { > if(eve->f & SELECT) { > (eve->tmp).p = &vert[counter]; > (eve->tmp).fp = 0.f;
Don't set fp to 0.f, since tmp is a union this also affects p. You can one of the two, but not both at the same time. Brecht. _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
