diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-03-14 15:12:21 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-03-14 15:12:21 +0300 |
commit | 94d06bf3d4648d101d6c0d5f8f16c2d99f848d87 (patch) | |
tree | fd86c4238268f5263de8017a7881121ecb491a73 | |
parent | 15f0907563bcf357c92c34f8f0d2d2a1af8343e3 (diff) |
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.
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index b7efc0c626b..8d2dfcd1989 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -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; |