- remove misplaced model loading exception from BinaryImporter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7696 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
d6f7ebc89c
commit
d1b0ff04d1
@ -35,7 +35,6 @@ package com.jme3.export.binary;
|
||||
import com.jme3.export.SavableClassFinder;
|
||||
import com.jme3.asset.AssetInfo;
|
||||
import com.jme3.asset.AssetManager;
|
||||
import com.jme3.asset.ModelKey;
|
||||
import com.jme3.export.JmeImporter;
|
||||
import com.jme3.export.ReadListener;
|
||||
import com.jme3.export.Savable;
|
||||
@ -113,8 +112,8 @@ public final class BinaryImporter implements JmeImporter {
|
||||
}
|
||||
|
||||
public Object load(AssetInfo info){
|
||||
if (!(info.getKey() instanceof ModelKey))
|
||||
throw new IllegalArgumentException("Model assets must be loaded using a ModelKey");
|
||||
// if (!(info.getKey() instanceof ModelKey))
|
||||
// throw new IllegalArgumentException("Model assets must be loaded using a ModelKey");
|
||||
|
||||
assetManager = info.getManager();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user