Fix for bug #17457. This bug relates to files that have missing multires vertex data.
authorNicholas Bishop <nicholasbishop@gmail.com>
Tue, 21 Apr 2009 16:58:25 +0000 (16:58 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Tue, 21 Apr 2009 16:58:25 +0000 (16:58 +0000)
commita82a6bedc55fe676c11bf36f1017c0cbddcd9ca2
tree579dde8cef4d86390c7cbe1c97eb267d2ababaee
parent6c33cc9bae9a565ee2ea5247754c6a4b127795bf
Fix for bug #17457. This bug relates to files that have missing multires vertex data.

The fix is, if the file was saved on the highest multires level, then mesh contains a copy of the vertices anyway, and we can just copy it back into multires.

Otherwise, multires is removed from the mesh to avoid a crash.
source/blender/blenkernel/intern/multires.c
source/blender/blenloader/intern/readfile.c