- convert mesh_modifier to return deformed verts instead of

leaving in a DL_VERTS type displist (and modifying mesh)
 - removed DL_VERTS displist type (woot woot)
 - makeDispListMesh now puts deformed verts in object->derivedDeform
 - switch over other system parts to new deformed vert storage,
   still kinda hacky and maybe some inconsistencies... will be
   sorted out soon enough.
 - moved build_particle_system to makeDispListMesh... this may have
   adverse side effects, needs to be sorted out with depgraph system
This commit is contained in:
2005-07-17 17:41:03 +00:00
parent fdaf1c6eac
commit 726aea881c
12 changed files with 226 additions and 219 deletions

View File

@@ -885,9 +885,10 @@ void draw_tface_mesh(Object *ob, Mesh *me, int dt)
dm = mesh_get_derived(ob);
dm->drawFacesTex(dm, draw_tface_mesh__set_draw);
} else {
dm = mesh_get_base_derived(ob);
int dmNeedsFree;
dm = mesh_get_derived_deform(ob, &dmNeedsFree);
dm->drawFacesTex(dm, draw_tface_mesh__set_draw);
dm->release(dm);
if (dmNeedsFree) dm->release(dm);
}
start = 0;