mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 13:15:00 -04:00
remove unnecessary warning message
This commit is contained in:
parent
df95e99833
commit
e185a67e98
@ -575,11 +575,7 @@ measure_row(const char *&source) {
|
|||||||
// A printable character.
|
// A printable character.
|
||||||
|
|
||||||
const TextFont::CharDef *def = _font->get_char(character);
|
const TextFont::CharDef *def = _font->get_char(character);
|
||||||
if (def == (const TextFont::CharDef *)NULL) {
|
if (def != (const TextFont::CharDef *)NULL) {
|
||||||
text_cat.warning()
|
|
||||||
<< "No definition for character " << character << endl;
|
|
||||||
|
|
||||||
} else {
|
|
||||||
float char_width = def->_width;
|
float char_width = def->_width;
|
||||||
xpos += char_width;
|
xpos += char_width;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user