Commit 5d653f35 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed cppcheck warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15030 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5c3950bb
......@@ -595,11 +595,7 @@ void SkeletonObject::showMotionPath(bool _visible)
for(unsigned int i = 0; i < skeleton_->jointCount(); ++i)
{
std::stringstream buf;
std::string nameJoint, nameLineNode, nameTransformNode, nameSubMatNode;
buf.str("");
buf << i;
nameJoint = buf.str();
std::string nameLineNode, nameTransformNode;
buf.str("");
buf << "LineNode " << i;
......@@ -608,9 +604,6 @@ void SkeletonObject::showMotionPath(bool _visible)
buf << " Transform";
nameTransformNode = buf.str();
buf << " Material";
nameSubMatNode = buf.str();
ACG::SceneGraph::TransformNode *pTransNode;
if(!getAdditionalNode(pTransNode, "SkeletonPlugin", nameTransformNode.c_str()))
{
......
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