give some nice defaults for new SB deflectors

This commit is contained in:
Jens Ole Wund 2005-04-20 19:35:27 +00:00
parent be3eec3014
commit bccd65de8a

@ -1437,6 +1437,9 @@ static void object_panel_deflectors(Object *ob)
if(ob->pd==NULL) {
ob->pd= MEM_callocN(sizeof(PartDeflect), "PartDeflect");
/* and if needed, init here */
ob->pd->pdef_sbdamp = 0.1;
ob->pd->pdef_sbift = 0.2;
ob->pd->pdef_sboft = 0.02;
}
if(ob->pd) {