- added DerivedMesh.getVertCos function and implementations

- added mesh_create_derived_no_deform[_render]
 - mesh_create_orco now always goes through a DerivedMesh, some
   redundant copying atm but can be fixed (and orco generation is
   not a big bottleneck)

New feature: TexMesh (texcomesh) works with subsurf now (are
you listening rob?)
This commit is contained in:
2005-07-18 19:58:23 +00:00
parent 291af7418e
commit 1e3bd6d45e
7 changed files with 149 additions and 120 deletions

View File

@@ -2211,7 +2211,7 @@ void convertmenu(void)
for(a=0; a<ob1->totcol; a++) id_us_plus((ID *)me->mat[a]);
}
dm= subsurf_make_derived_from_mesh(ob, oldme->subdiv, 0);
dm= subsurf_make_derived_from_mesh(ob->data, oldme->subdiv, NULL, NULL);
dlm= dm->convertToDispListMesh(dm);
dm->release(dm);