== Multires ==

Possible fix for bug #6208, Blender crashes in sculpt tool

* make_orco_mesh_internal was using the render level rather than the pin level to create orcos

Note that since this bug never caused a crash on my system, I can't confirm that this fixes 6208.
This commit is contained in:
2007-04-14 19:54:26 +00:00
parent 14e6497d8b
commit 16be2ce5ba

View File

@@ -502,7 +502,7 @@ static float *make_orco_mesh_internal(Object *ob, int render)
MVert *mvert = NULL;
if(me->mr) {
lvl = multires_level_n(me->mr, me->mr->renderlvl);
lvl = multires_level_n(me->mr, me->mr->pinlvl);
vcos = MEM_callocN(sizeof(*vcos)*lvl->totvert, "orco mr mesh");
mvert = lvl->verts;
totvert = lvl->totvert;