Fix #27346: When The FONT object is blank, the dimensions are calculated wong.
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 9 May 2011 20:14:34 +0000 (20:14 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 9 May 2011 20:14:34 +0000 (20:14 +0000)
commitd143eca2fcbda59e34ac91c1ddaa53b3f15de6e0
tree856e4390877666163eca1ad39ac25ddc0080d587
parentc87b5f8dfb98cc43a7f12007e6ba2e76cfd0d6f8
Fix #27346: When The FONT object is blank, the dimensions are calculated wong.

This commit fixes boundbox for empty curve-typed objects. Because of strange
reason (-1,-1,-1) and (1,1,1) was used as boundbox. Now it uses zero-sized
boundbox (as it's done for meshes).

This commit makes nothig with that single space character text from the report.
source/blender/blenkernel/intern/displist.c