A healthy splash of google-collections
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@822 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -58,7 +58,7 @@ public abstract class TextureController extends ModelController
|
||||
protected void initTextures ()
|
||||
{
|
||||
// find and clone all textures under the target
|
||||
final HashMap<Texture, Texture> clones = new HashMap<Texture, Texture>();
|
||||
final HashMap<Texture, Texture> clones = Maps.newHashMap();
|
||||
new SpatialVisitor<ModelMesh>(ModelMesh.class) {
|
||||
protected void visit (ModelMesh mesh) {
|
||||
TextureState otstate = (TextureState)mesh.getRenderState(RenderState.RS_TEXTURE);
|
||||
|
||||
Reference in New Issue
Block a user