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:
@@ -432,7 +432,8 @@ 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 || getCullMode() == CULL_ALWAYS) {
|
if (_weightGroups == null || _storeFrameId == -1 ||
|
||||||
|
(_storeFrameId == 0 && getCullMode() == CULL_ALWAYS)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// update the bone transforms
|
// update the bone transforms
|
||||||
|
|||||||
Reference in New Issue
Block a user