Ignore cull mode when we're generating frames to morph between.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@235 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Andrzej Kapolka
2007-05-10 01:07:54 +00:00
parent 2e0678877b
commit e5db96b963
@@ -432,7 +432,8 @@ public class SkinMesh extends ModelMesh
public void updateWorldData (float time)
{
super.updateWorldData(time);
if (_weightGroups == null || _storeFrameId == -1 || getCullMode() == CULL_ALWAYS) {
if (_weightGroups == null || _storeFrameId == -1 ||
(_storeFrameId == 0 && getCullMode() == CULL_ALWAYS)) {
return;
}
// update the bone transforms