diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-04-09 19:28:46 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-04-09 19:28:46 +0400 |
commit | 9f6080cf1b12c1db36cc6c6001bb0a9404a07771 (patch) | |
tree | 113ada8a554502f8a1ec40f67af20b0fb672f785 /source/blender/src/buttons_object.c | |
parent | e324cbd1e1599240629eb06de8889a2857911755 (diff) |
Cloth/Collision modifier now gets add to the tail of the modifier stack as that is normal behaviour for all other modifiers, too.
Diffstat (limited to 'source/blender/src/buttons_object.c')
-rw-r--r-- | source/blender/src/buttons_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c index bd0c59dc6e8..c88f280f847 100644 --- a/source/blender/src/buttons_object.c +++ b/source/blender/src/buttons_object.c @@ -3303,7 +3303,7 @@ static void object_collision__enabletoggle ( void *ob_v, void *arg2 ) if(pd && (pd->deflect)) { md = modifier_new ( eModifierType_Collision ); - BLI_addhead ( &ob->modifiers, md ); + BLI_addtail ( &ob->modifiers, md ); DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA); allqueue(REDRAWBUTSEDIT, 0); allqueue(REDRAWVIEW3D, 0); @@ -5164,7 +5164,7 @@ static void object_cloth__enabletoggle(void *ob_v, void *arg2) if (!md) { md = modifier_new(eModifierType_Cloth); - BLI_addhead(&ob->modifiers, md); + BLI_addtail(&ob->modifiers, md); DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA); allqueue(REDRAWBUTSEDIT, 0); |