Fix #21594: converting bevel objects to mesh stops displaying them in spacial cases

Mesh's boundbox should be re-calculated after curve->mesh conversion.
To avoid troubles with displaying texture space i've used
tex_space_mesh() for this.
This commit is contained in:
Sergey Sharybin
2010-03-14 12:12:21 +00:00
parent 15f0907563
commit 94d06bf3d4

View File

@@ -987,6 +987,9 @@ void nurbs_to_mesh(Object *ob)
me->totcol= cu->totcol;
me->mat= cu->mat;
tex_space_mesh(me);
cu->mat= 0;
cu->totcol= 0;