]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mod_skeletal_animatevertices_generic.c
added sv_disablenotify cvar (default 1) to suppress prints about
[xonotic/darkplaces.git] / mod_skeletal_animatevertices_generic.c
index 24cc8a9e8eb2f2f40605971310533d1f3847b3d5..00ab435d9661176aeb80ba1baee7a087ffed448a 100644 (file)
@@ -16,9 +16,6 @@ void Mod_Skeletal_AnimateVertices_Generic(const dp_model_t * RESTRICT model, con
        float m[12];
        const blendweights_t * RESTRICT weights;
 
-       if (!model->surfmesh.num_vertices)
-               return;
-
        //unsigned long long ts = rdtsc();
        bonepose = (float12_t *) Mod_Skeletal_AnimateVertices_AllocBuffers(sizeof(float12_t) * (model->num_bones*2 + model->surfmesh.num_blends));
        boneposerelative = bonepose + model->num_bones;