From: havoc Date: Thu, 10 Nov 2011 17:05:43 +0000 (+0000) Subject: removed a model->numframes <= 1 check which broke animated models with a X-Git-Tag: xonotic-v0.6.0~165 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2f78a8261bda4700dabc06526131a1f7d35dd123;p=xonotic%2Fdarkplaces.git removed a model->numframes <= 1 check which broke animated models with a single framegroup defined git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11545 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=8e67c71aad76876663c79a8ae440363cee0646fb --- diff --git a/prvm_cmds.c b/prvm_cmds.c index c7df3eef..c5ae138f 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -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;