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