We need to create a new array when we're *not* using shaders.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@230 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -288,8 +288,8 @@ public class SkinMesh extends ModelMesh
|
||||
}
|
||||
mstore._ovbuf = _ovbuf;
|
||||
mstore._onbuf = _onbuf;
|
||||
mstore._vbuf = (sstate == null) ? _vbuf : new float[_vbuf.length];
|
||||
mstore._nbuf = (sstate == null) ? _nbuf : new float[_nbuf.length];
|
||||
mstore._vbuf = (sstate == null) ? new float[_vbuf.length] : _vbuf;
|
||||
mstore._nbuf = (sstate == null) ? new float[_nbuf.length] : _nbuf;
|
||||
return mstore;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user