From 34c98682c14c61b6abc3f68ea638f98fb9ebae74 Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Sat, 11 Jun 2011 23:56:40 +0000 Subject: [PATCH] * Fixed issue with MatParamTexture loading in J3O files git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7590 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/export/SavableClassFinder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/src/core/com/jme3/export/SavableClassFinder.java b/engine/src/core/com/jme3/export/SavableClassFinder.java index 3bbe945f8..c25d8e39b 100644 --- a/engine/src/core/com/jme3/export/SavableClassFinder.java +++ b/engine/src/core/com/jme3/export/SavableClassFinder.java @@ -43,6 +43,7 @@ import java.util.logging.Logger; import com.jme3.export.InputCapsule; import com.jme3.export.Savable; +import com.jme3.material.MatParamTexture; import java.util.HashMap; import java.util.Iterator; import java.util.List; @@ -71,6 +72,7 @@ public class SavableClassFinder { addRemapping("com.jme3.effect.EmitterMeshFaceShape", EmitterMeshFaceShape.class); addRemapping("com.jme3.effect.EmitterMeshVertexShape", EmitterMeshVertexShape.class); addRemapping("com.jme3.effect.EmitterPointShape", EmitterPointShape.class); + addRemapping("com.jme3.material.Material$MatParamTexture", MatParamTexture.class); } private static String remapClass(String className) throws ClassNotFoundException {