From 13a6070629a5fe76fe1225db167c47e12f32cccf Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 28 Jan 2017 00:45:23 +0100 Subject: [PATCH] Remove warning spam in skeleton.cpp If the root bone is missing, that is caused by all bones being missing which will have been logged already. --- components/sceneutil/skeleton.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/sceneutil/skeleton.cpp b/components/sceneutil/skeleton.cpp index f7c141e20..49bc5b70f 100644 --- a/components/sceneutil/skeleton.cpp +++ b/components/sceneutil/skeleton.cpp @@ -127,8 +127,6 @@ void Skeleton::updateBoneMatrices(unsigned int traversalNumber) for (unsigned int i=0; imChildren.size(); ++i) mRootBone->mChildren[i]->update(NULL); } - else - std::cerr << "Error: no root bone" << std::endl; mNeedToUpdateBoneMatrices = false; }