From 256441906f8f2f89e0c9d28b6f7f4f4b1b44df43 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 28 Feb 2017 17:12:58 +0000 Subject: [PATCH] Removed unused member variable --- include/osgText/Text | 6 ------ src/osgText/Text.cpp | 1 - 2 files changed, 7 deletions(-) diff --git a/include/osgText/Text b/include/osgText/Text index 7060766f5..fa270391d 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -318,17 +318,11 @@ public: struct OSGTEXT_EXPORT GlyphQuads { typedef std::vector Glyphs; - typedef std::vector LineNumbers; typedef std::vector< osg::ref_ptr > Primitives; Glyphs _glyphs; - - unsigned int _coordBase; - - Primitives _primitives; - GlyphQuads(); GlyphQuads(const GlyphQuads& gq); diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index cebbdd4e0..2c965cdbc 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -1781,7 +1781,6 @@ Text::GlyphQuads::GlyphQuads(const GlyphQuads&) void Text::GlyphQuads::initGlyphQuads() { - _coordBase = 0; _primitives.push_back(new DrawElementsUShort(PrimitiveSet::TRIANGLES)); }