fix more white text problems

This commit is contained in:
David Rose 2008-01-31 03:13:55 +00:00
parent f58416a234
commit bba7914821

View File

@ -102,8 +102,16 @@ ns_load_font(const string &str) {
if (node != (PandaNode *)NULL) {
// It is a model. Elevate all the priorities by 1, and make a
// font out of it.
// On second thought, why should we elevate the priorities? The
// DynamicTextFont doesn't do this, and doing so for the
// StaticTextFont only causes problems (it changes the default
// ColorAttrib from pri -1 to pri 0).
/*
NodePath np(node);
np.adjust_all_priorities(1);
*/
font = new StaticTextFont(node);
}
}