Fix compile error for last commit.

This commit is contained in:
2006-12-21 14:25:52 +00:00
parent e4663acd76
commit 72d484a872

View File

@@ -3742,10 +3742,11 @@ void do_meshbuts(unsigned short event)
break;
case B_SETTFACE:
if (G.obedit || me) {
CustomData *fdata= (G.obedit)? &em->fdata: &me->fdata;
if (G.f & G_FACESELECT)
select_mface_from_tface(me);
CustomData *fdata= (G.obedit)? &em->fdata: &me->fdata;
CustomData_set_layer_active(fdata, CD_MTFACE, acttface-1);
mesh_update_customdata_pointers(me);