Use apply, rather than load, to ensure that JME remembers the current

texture state.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@151 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Andrzej Kapolka
2007-02-07 23:52:11 +00:00
parent 8df7f7e0b3
commit 15a4d1d075
@@ -73,7 +73,7 @@ public abstract class TextureController extends ModelController
Texture tex = otstate.getTexture(ii), ctex = clones.get(tex);
if (ctex == null) {
if (tex.getTextureId() == 0) {
otstate.load(ii);
otstate.apply(); // load before cloning
}
clones.put(tex, ctex = tex.createSimpleClone());
}