1
0
Fork 0

Remove CanvasText space hack.

With corrected alginment calculations within latest SimGear this
hack is not needed anymore.
This commit is contained in:
Thomas Geymayer 2013-02-09 12:15:34 +01:00
parent 82797f0f55
commit 0bb3a1fe95

View file

@ -481,8 +481,7 @@ var Text = {
# Set the text
setText: func(text)
{
# add space because osg seems to remove last character if its a space
me.set("text", typeof(text) == 'scalar' ? text ~ ' ' : "");
me.set("text", typeof(text) == 'scalar' ? text : "");
},
# Set alignment
#