From 3e54a20b29475416cb6b2c9dad987407d7ad7093 Mon Sep 17 00:00:00 2001 From: groverburger Date: Wed, 15 Dec 2021 12:13:10 -0800 Subject: [PATCH] deleted over-agressive error checking on verts --- g3d/model.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/g3d/model.lua b/g3d/model.lua index c02c15e..e7f464c 100644 --- a/g3d/model.lua +++ b/g3d/model.lua @@ -37,7 +37,6 @@ local function newModel(verts, texture, translation, rotation, scale) if type(verts) == "string" then verts = loadObjFile(verts) end - assert(verts and type(verts) == "table", "Invalid vertices given to newModel") -- if texture is a string, use it as a path to an image file -- otherwise texture is already an image, so don't bother