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:
parent
c7c9cae999
commit
1100e286a6
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue