From 9f6080cf1b12c1db36cc6c6001bb0a9404a07771 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Wed, 9 Apr 2008 15:28:46 +0000 Subject: [PATCH] Cloth/Collision modifier now gets add to the tail of the modifier stack as that is normal behaviour for all other modifiers, too. --- source/blender/src/buttons_object.c | 4 ++-- 1 file 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);