From 673f235ff9b963639210ae8d58f0e8bf29393375 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 1 Nov 2024 00:25:00 +0300 Subject: [PATCH] fix VEC3 16 bit indices support (remove false-positive assert) --- src/coders/vec3.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/coders/vec3.cpp b/src/coders/vec3.cpp index d6fb5c08..63edc21e 100644 --- a/src/coders/vec3.cpp +++ b/src/coders/vec3.cpp @@ -125,7 +125,6 @@ static model::Mesh load_mesh( if (flags == FLAG_ZLIB) { throw std::runtime_error("compression is not supported yet"); } - assert(flags == 0); std::vector attributes; for (int i = 0; i < attributeCount; i++) { attributes.push_back(load_attribute(reader));