Fix #199 Studio object viewer plugin font

This commit is contained in:
nimetu 2014-09-10 12:19:11 +02:00
parent 9e74156181
commit 0cd3ea8d3b

View file

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