]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
removed a model->numframes <= 1 check which broke animated models with a
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 10 Nov 2011 17:05:43 +0000 (17:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 10 Nov 2011 17:05:43 +0000 (17:05 +0000)
single framegroup defined

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11545 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 657e4b81914b5c3904b8ebaae6d1aee176da08ea..7f1900d9826f6d44d3799b78e01b1803bcd7197a 100644 (file)
@@ -96,7 +96,7 @@ void VM_FrameBlendFromFrameGroupBlend(frameblend_t *frameblend, const framegroup
 
        memset(blend, 0, MAX_FRAMEBLENDS * sizeof(*blend));
 
-       if (!model || !model->surfmesh.isanimated || model->numframes <= 1)
+       if (!model || !model->surfmesh.isanimated)
        {
                blend[0].lerp = 1;
                return;