Fix T52498: Deleting force field doesn't remove "Surface" from modifier stack.
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 27 Aug 2017 10:20:21 +0000 (12:20 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 28 Aug 2017 04:25:00 +0000 (14:25 +1000)
commitc16a98bb068b93a5f111078480236bdf027ebd1d
tree11497a7674d7a706a70de0d6608bd006c5076e48
parente0ce01c3b15b588bf1d816c24fab8f11b655cb77
Fix T52498: Deleting force field doesn't remove "Surface" from modifier stack.

Logic in `ED_object_check_force_modifiers` was inconsistent between add
and remove modifier cases.

Should be safe enough for 2.79.
source/blender/editors/object/object_edit.c