give some nice defaults for new SB deflectors
This commit is contained in:
@@ -1437,6 +1437,9 @@ static void object_panel_deflectors(Object *ob)
|
|||||||
if(ob->pd==NULL) {
|
if(ob->pd==NULL) {
|
||||||
ob->pd= MEM_callocN(sizeof(PartDeflect), "PartDeflect");
|
ob->pd= MEM_callocN(sizeof(PartDeflect), "PartDeflect");
|
||||||
/* and if needed, init here */
|
/* 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) {
|
if(ob->pd) {
|
||||||
|
|||||||
Reference in New Issue
Block a user