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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user