mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
chore: add note about only rigid models being supported right now
This commit is contained in:
parent
27d047198f
commit
46111ae106
@ -584,7 +584,6 @@ namespace
|
|||||||
void CreateVertsBlendData(XSurface& surface, const std::vector<size_t>& vertexIndices, const XModelCommon& common)
|
void CreateVertsBlendData(XSurface& surface, const std::vector<size_t>& vertexIndices, const XModelCommon& common)
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
assert(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ReorderVerticesByWeightCount(std::vector<size_t>& vertexIndices, XSurface& surface, const XModelCommon& common)
|
static void ReorderVerticesByWeightCount(std::vector<size_t>& vertexIndices, XSurface& surface, const XModelCommon& common)
|
||||||
@ -684,7 +683,12 @@ namespace
|
|||||||
if (!hasVertsBlend)
|
if (!hasVertsBlend)
|
||||||
CreateVertListData(surface, xmodelToCommonVertexIndexLookup, common);
|
CreateVertListData(surface, xmodelToCommonVertexIndexLookup, common);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
CreateVertsBlendData(surface, xmodelToCommonVertexIndexLookup, common);
|
CreateVertsBlendData(surface, xmodelToCommonVertexIndexLookup, common);
|
||||||
|
|
||||||
|
std::cerr << "Only rigid models are supported at the moment\n";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user