Do not remove MDISPS customdata layer when removing multires modifier
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 15 May 2011 13:13:51 +0000 (13:13 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 15 May 2011 13:13:51 +0000 (13:13 +0000)
commit19eb07c63db33793fdf778d9b0b8a3c0d7f9fc57
tree66c08f3bda600956ba74824bb3d5c4f1a7dcaf3b
parentd05b26c6354a0a77f7f128d0726d85b95f3511ff
Do not remove MDISPS customdata layer when removing multires modifier
and there are still another multires modifiers in the stack.

Helps to prevent loosing sculpt data when you occasionally added another
multires and reomved it with "X" button.
source/blender/editors/object/object_modifier.c