From d1b0ff04d17f12853c9199cf5b349cc5b08b642f Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Thu, 23 Jun 2011 12:47:04 +0000 Subject: [PATCH] - remove misplaced model loading exception from BinaryImporter git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7696 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../core-plugins/com/jme3/export/binary/BinaryImporter.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/engine/src/core-plugins/com/jme3/export/binary/BinaryImporter.java b/engine/src/core-plugins/com/jme3/export/binary/BinaryImporter.java index 153e34fb8..1582a4930 100644 --- a/engine/src/core-plugins/com/jme3/export/binary/BinaryImporter.java +++ b/engine/src/core-plugins/com/jme3/export/binary/BinaryImporter.java @@ -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();