replace macro's with functions for UV editmode checks, this wasn't nice code and broke building on solaris

This commit is contained in:
2007-11-25 13:43:14 +00:00
parent 13e73af13e
commit a32287ebfb
7 changed files with 303 additions and 222 deletions

View File

@@ -370,7 +370,7 @@ void calculate_uv_map(unsigned short mapmode)
if ((G.sima && G.sima->flag & SI_SYNC_UVSEL)==0) {
for(efa=em->faces.first; efa; efa=efa->next) {
MTFace *tf= (MTFace *)CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);
SIMA_FACESEL_SET(efa, tf);
simaFaceSel_Set(efa, tf);
}
}
}