Fix #199 Studio object viewer plugin font

This commit is contained in:
nimetu 2014-09-10 12:19:11 +02:00
parent d76e058247
commit ea266910b2

View file

@ -115,7 +115,7 @@ void CObjectViewer::init( NL3D::UDriver *driver )
// create the text context
nlassert(!_TextContext);
_TextContext = _Driver->createTextContext(_FontName);
_TextContext = _Driver->createTextContext(NLMISC::CPath::lookup(_FontName));
nlassert(_TextContext);
NL3D::CBloomEffect::instance().setDriver(_Driver);