- texcomesh used wrong texture space (should use the texcomesh object
space)
This commit is contained in:
@@ -466,7 +466,7 @@ static float *make_orco_mesh_internal(Object *ob, int render)
|
||||
dm->release(dm);
|
||||
MEM_freeN(vcos);
|
||||
|
||||
mesh_get_texspace(me, loc, NULL, size);
|
||||
mesh_get_texspace(me->texcomesh?me->texcomesh:me, loc, NULL, size);
|
||||
|
||||
for(a=0; a<totvert; a++) {
|
||||
float *co = orcoData[a];
|
||||
@@ -878,14 +878,6 @@ void nurbs_to_mesh(Object *ob)
|
||||
|
||||
cu= ob->data;
|
||||
|
||||
if(ob->type==OB_CURVE) {
|
||||
/* rule: dl->type INDEX3 always as first in list */
|
||||
dl= cu->disp.first;
|
||||
if(dl->type!=DL_INDEX3) {
|
||||
curve_to_filledpoly(ob->data, &cu->nurb, &cu->disp);
|
||||
}
|
||||
}
|
||||
|
||||
/* count */
|
||||
dl= cu->disp.first;
|
||||
while(dl) {
|
||||
|
||||
Reference in New Issue
Block a user