]> git.xonotic.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)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 10 Nov 2011 20:25:39 +0000 (21:25 +0100)
single framegroup defined

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11545 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=8e67c71aad76876663c79a8ae440363cee0646fb

prvm_cmds.c

index c7df3eef91134405c650b4db267f503a8c51fb00..c5ae138fb1e9dc534ffb2cd75140aec8cb73bf80 100644 (file)
@@ -95,7 +95,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;