Add back clipping to the font object, since lack of clipping messes up list widgets. I submitted a feature request with patch to the irrlicht devs instead, so hopefully in the future IGUIStaticText will have my patch apply and allow disabling clipping locally where needed.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-09-14 00:03:30 +00:00
parent 40d3d2e5de
commit 2891504fa3

View File

@ -425,10 +425,6 @@ void ScalableFont::draw(const core::stringw& text,
{
if (!Driver) return;
// FIXME? simple hack to never clip the text. I don't think we use that anywhere, but we DO have
// bits of letters getting clipped (e.g. the bottom of a "g")
clip = NULL;
if (m_shadow)
{
m_shadow = false; // avoid infinite recursion