From a1cfdca94dc71851e411171e7783c79c585b8572 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 19 Dec 2005 11:18:26 +0000 Subject: [PATCH] From Eric Wing, made getLineCount() const. --- include/osgText/Text | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgText/Text b/include/osgText/Text index e0e82446e..1ffeae8ea 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -216,7 +216,7 @@ public: KerningType getKerningType() const { return _kerningType; } /** Get the number of wrapped lines - only valid after computeGlyphRepresentation() has been called, returns 0 otherwise */ - unsigned int getLineCount() { return _lineCount; } + unsigned int getLineCount() const { return _lineCount; } /** Draw the text.*/ virtual void drawImplementation(osg::State& state) const;