diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-06-01 06:21:11 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-06-01 06:21:11 +0400 |
commit | 1a9f0e692acc3d5b2b9111e781d5e4a018c811d5 (patch) | |
tree | b54a8c64f4fcebc3d252bb979c56bdc922bcf398 /source/blender/blenkernel/intern/mesh.c | |
parent | 9d0f74658001947781cd65d28fb7982b36acd1fd (diff) |
== Multires ==
* Moved the multires vertex data from struct MultiresLevel to struct Multires. There's no longer any reason to store data seperately for each level; it was just taking up extra memory.
* Incremented the subversion to 2 and adjusted do_versions to correctly load older files.
* Refactored the multires update process (which handles propagating changes to other levels)
Diffstat (limited to 'source/blender/blenkernel/intern/mesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 278d49e2198..4c6bfda1517 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -504,7 +504,7 @@ static float *make_orco_mesh_internal(Object *ob, int render) if(me->mr) { lvl = multires_level_n(me->mr, me->mr->pinlvl); vcos = MEM_callocN(sizeof(*vcos)*lvl->totvert, "orco mr mesh"); - mvert = lvl->verts; + mvert = me->mr->verts; totvert = lvl->totvert; } else { |