Fix, as reported by Martin; the 'make dupli real' code would also apply

size and rotation.
This commit is contained in:
Ton Roosendaal 2004-11-06 22:29:24 +00:00
parent f4efd433fa
commit 6423ccff41

@ -2868,15 +2868,19 @@ void apply_object()
ob= OBACT; ob= OBACT;
if(ob==0) return; if(ob==0) return;
if(ob->transflag & OB_DUPLI) make_duplilist_real(); if(ob->transflag & OB_DUPLI) {
make_duplilist_real();
}
else { else {
if(okee("Apply deformation")==0) return; if(okee("Apply deformation")==0) {
object_apply_deform(ob); object_apply_deform(ob);
BIF_undo_push("Apply deformation");
}
}
allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWVIEW3D, 0);
return; return;
} }
}
if(okee("Apply size and rotation")==0) return; if(okee("Apply size and rotation")==0) return;