1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

don't spam log when bone not found

This commit is contained in:
fgenesis 2023-05-30 00:41:16 +02:00
parent c7c9cae999
commit 1100e286a6

View file

@ -1183,9 +1183,6 @@ Bone *SkeletalSprite::getBoneByName(const std::string &name)
if (bones[i]->name == name)
return bones[i];
}
std::ostringstream os;
os << "Could not find bone with name[" << name << "]";
debugLog(os.str());
return 0;
}
@ -1196,9 +1193,6 @@ Bone *SkeletalSprite::getBoneByIdx(size_t idx)
if (bones[i]->boneIdx == idx)
return bones[i];
}
std::ostringstream os;
os << "Could not find bone with idx[" << idx << "]";
debugLog(os.str());
return 0;
}