Don't skin what you can't see.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@226 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Andrzej Kapolka
2007-05-04 01:25:40 +00:00
parent d43eabc156
commit 3401bbf3bf
@@ -365,7 +365,7 @@ public class SkinMesh extends ModelMesh
public void updateWorldData (float time) public void updateWorldData (float time)
{ {
super.updateWorldData(time); super.updateWorldData(time);
if (_weightGroups == null || _storeFrameId == -1) { if (_weightGroups == null || _storeFrameId == -1 || getCullMode() == CULL_ALWAYS) {
return; return;
} }
// update the bone transforms // update the bone transforms