diff --git a/panda/src/text/textNode.I b/panda/src/text/textNode.I index 8ad971819a..c833dc2120 100644 --- a/panda/src/text/textNode.I +++ b/panda/src/text/textNode.I @@ -73,16 +73,6 @@ thaw() { return _freeze_level; } -//////////////////////////////////////////////////////////////////// -// Function: TextNode::set_font -// Access: Published -// Description: Sets the font that will be used when making text. -//////////////////////////////////////////////////////////////////// -INLINE void TextNode:: -set_font(Node *font_def) { - set_font(new TextFont(font_def)); -} - //////////////////////////////////////////////////////////////////// // Function: TextNode::set_font // Access: Published diff --git a/panda/src/text/textNode.h b/panda/src/text/textNode.h index 8b00b56b2e..4c1e3b9c6d 100644 --- a/panda/src/text/textNode.h +++ b/panda/src/text/textNode.h @@ -46,7 +46,6 @@ PUBLISHED: INLINE int get_freeze_level() const; INLINE int thaw(); - INLINE void set_font(Node *font); INLINE void set_font(TextFont *font); INLINE TextFont *get_font() const;