diff --git a/panda/src/text/textNode.cxx b/panda/src/text/textNode.cxx index a20951fe98..9478c644ec 100644 --- a/panda/src/text/textNode.cxx +++ b/panda/src/text/textNode.cxx @@ -58,6 +58,7 @@ TypeHandle TextNode::_type_handle; TextNode:: TextNode(const string &name) : PandaNode(name), _assembler(this) { _flags = 0; + _max_rows = 0; if (text_small_caps) { set_small_caps(true);