chore: add note about only rigid models being supported right now

This commit is contained in:
Jan 2024-09-05 21:16:55 +02:00
parent 27d047198f
commit 46111ae106
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C

View File

@ -584,7 +584,6 @@ namespace
void CreateVertsBlendData(XSurface& surface, const std::vector<size_t>& vertexIndices, const XModelCommon& common)
{
// TODO
assert(false);
}
static void ReorderVerticesByWeightCount(std::vector<size_t>& vertexIndices, XSurface& surface, const XModelCommon& common)
@ -684,7 +683,12 @@ namespace
if (!hasVertsBlend)
CreateVertListData(surface, xmodelToCommonVertexIndexLookup, common);
else
{
CreateVertsBlendData(surface, xmodelToCommonVertexIndexLookup, common);
std::cerr << "Only rigid models are supported at the moment\n";
return false;
}
}
return true;