From e5db96b963effce40b8b9daccab5beaed4fa2ee9 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Thu, 10 May 2007 01:07:54 +0000 Subject: [PATCH] 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 --- src/java/com/threerings/jme/model/SkinMesh.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/java/com/threerings/jme/model/SkinMesh.java b/src/java/com/threerings/jme/model/SkinMesh.java index 40c99d18..86b49aad 100644 --- a/src/java/com/threerings/jme/model/SkinMesh.java +++ b/src/java/com/threerings/jme/model/SkinMesh.java @@ -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