forked from bartvdbraak/blender
give some nice defaults for new SB deflectors
This commit is contained in:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user