diff --git a/src/ObjLoading/XModel/LoaderXModel.cpp.template b/src/ObjLoading/XModel/LoaderXModel.cpp.template index 0c6b4067..993077f4 100644 --- a/src/ObjLoading/XModel/LoaderXModel.cpp.template +++ b/src/ObjLoading/XModel/LoaderXModel.cpp.template @@ -752,7 +752,7 @@ namespace const auto maxWeightCount = common.m_vertex_bone_weights[xmodelToCommonVertexIndexLookup[xmodelToCommonVertexIndexLookup.size() - 1]].weightCount; - if (maxWeightCount == 0) // XModel is rigid + if (maxWeightCount <= 1) // XModel is rigid { CreateVertListData(surface, xmodelToCommonVertexIndexLookup, common); }