show the screen text after the performance improvements

Change-Id: I09d0bfe06e3fbb93f65587a847133fb1b3a3f2b2
This commit is contained in:
Markus Mohrhard 2014-05-28 22:29:08 +02:00 committed by Markus Mohrhard
parent 939519560c
commit 585f615c2d

View file

@ -367,7 +367,7 @@ void GL3DBarChart::clickedAt(const Point& rPos, sal_uInt16 nButtons)
OUString("Value: ") + OUString::number(rBarInfo.mnVal), 0));
opengl3D::ScreenText* pScreenText = static_cast<opengl3D::ScreenText*>(&maShapes.back());
pScreenText->setPosition(glm::vec2(-0.9f, 0.9f), glm::vec2(-0.6f, 0.8f));
pScreenText->render();
}
void GL3DBarChart::mouseDragMove(const Point& , const Point& , sal_uInt16 nButtons)
@ -467,6 +467,7 @@ IMPL_LINK_NOARG(GL3DBarChart, MoveToBar)
else
{
maShapes.pop_back();
mpRenderer->ReleaseScreenTextShapes();
mbBlockUserInput = false;
mnStep = 0;
}