Revision: 25373 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25373 Author: blendix Date: 2009-12-14 16:40:47 +0100 (Mon, 14 Dec 2009)
Log Message: ----------- Bugfix: converting multires with 0 levels would crash. Modified Paths: -------------- trunk/blender/source/blender/blenkernel/intern/multires.c Modified: trunk/blender/source/blender/blenkernel/intern/multires.c =================================================================== --- trunk/blender/source/blender/blenkernel/intern/multires.c 2009-12-14 15:05:09 UTC (rev 25372) +++ trunk/blender/source/blender/blenkernel/intern/multires.c 2009-12-14 15:40:47 UTC (rev 25373) @@ -796,7 +796,8 @@ if(mdisps) { for(a=0; a<me->totface; a++) - old_mdisps_convert(&me->mface[a], &mdisps[a]); + if(mdisps[a].totdisp) + old_mdisps_convert(&me->mface[a], &mdisps[a]); } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs