Commit fbcfc977 authored by Isaak Lim's avatar Isaak Lim

- got rid of FTGL dependencies in TextNode

- now TextNode uses textures and QFont to render text
- adjusted scaling in RulerPlugin and SkeletonObject

refs #269

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14682 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d70023e3
......@@ -86,7 +86,7 @@ void RulerPlugin::showDistance()
QString distanceStr = QString().number((distVec).length());
textNode_->setText(distanceStr.toStdString());
textNode_->multipassNodeSetActive(8, true);
textNode_->setSize(5);
textNode_->setSize(1);
textTransformNode_->loadIdentity();
textTransformNode_->translate(ACG::Vec3d(Point2.data()[0],Point2.data()[1],bbmax_.data()[2]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment