Commit 36e2b88b authored by Jan Möbius's avatar Jan Möbius
Browse files

Std warning



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14981 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 62974fd7
...@@ -237,7 +237,7 @@ bool FileSKLPlugin::SaveSkeleton(Skeleton *_pSkeleton, QString _filename) ...@@ -237,7 +237,7 @@ bool FileSKLPlugin::SaveSkeleton(Skeleton *_pSkeleton, QString _filename)
std::ofstream out(_filename.toStdString().c_str(), std::ofstream::out); std::ofstream out(_filename.toStdString().c_str(), std::ofstream::out);
// write the number of joints // write the number of joints
out << _pSkeleton->jointCount() << endl; out << _pSkeleton->jointCount() << std::endl;
Pose *ref = _pSkeleton->referencePose(); Pose *ref = _pSkeleton->referencePose();
// write all the joints // write all the joints
...@@ -264,7 +264,7 @@ bool FileSKLPlugin::SaveSkeleton(Skeleton *_pSkeleton, QString _filename) ...@@ -264,7 +264,7 @@ bool FileSKLPlugin::SaveSkeleton(Skeleton *_pSkeleton, QString _filename)
for(unsigned int j = 0; j < pJoint->size(); ++j) for(unsigned int j = 0; j < pJoint->size(); ++j)
out << pJoint->child(j)->id() << " "; out << pJoint->child(j)->id() << " ";
out << endl; out << std::endl;
} }
// now store animations // now store animations
...@@ -307,10 +307,10 @@ bool FileSKLPlugin::SaveSkeleton(Skeleton *_pSkeleton, QString _filename) ...@@ -307,10 +307,10 @@ bool FileSKLPlugin::SaveSkeleton(Skeleton *_pSkeleton, QString _filename)
out << mat(y, 3) << " "; out << mat(y, 3) << " ";
} }
out << endl; out << std::endl;
} }
} else { } else {
out << "0" << endl; out << "0" << std::endl;
} }
} }
......
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