diff --git a/src/ObjLoading/Game/T6/XModel/JsonXModelLoader.cpp b/src/ObjLoading/Game/T6/XModel/JsonXModelLoader.cpp index 5616b6cc..aad41974 100644 --- a/src/ObjLoading/Game/T6/XModel/JsonXModelLoader.cpp +++ b/src/ObjLoading/Game/T6/XModel/JsonXModelLoader.cpp @@ -584,7 +584,6 @@ namespace void CreateVertsBlendData(XSurface& surface, const std::vector& vertexIndices, const XModelCommon& common) { // TODO - assert(false); } static void ReorderVerticesByWeightCount(std::vector& 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;