== Frameserver ==

Set SO_REUSEADDR on server-socket, since otherwise, frameserver will barf on
second start.
This commit is contained in:
2006-06-26 13:22:55 +00:00
parent dbc7dbb2b9
commit d6e7eb27ed
2 changed files with 6 additions and 1 deletions

View File

@@ -604,7 +604,7 @@ static void calc_vertexnormals(Render *re, int startvert, int startvlak, int do_
float *v1= vlr->v1->n;
float *v2= vlr->v2->n;
float *v3= vlr->v3->n;
float *v4= vlr->v4->n;
float *v4= vlr->v4?vlr->v4->n:NULL;
float *nor= vlr->n;
vlr->puno &= ~15;
if ((nor[0]*v1[0] + nor[1]*v1[1] + nor[2]*v1[2]) < -FLT_EPSILON10) vlr->puno= 1;