Created
May 9, 2014 12:53
-
-
Save nddrylliog/22bd945568cb56b32f84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/MeshSpawnShapeValue.java b/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/MeshSpawnShapeValue.java | |
index 7d7cb2c..bc5f297 100644 | |
--- a/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/MeshSpawnShapeValue.java | |
+++ b/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/MeshSpawnShapeValue.java | |
@@ -87,7 +87,7 @@ public abstract class MeshSpawnShapeValue extends SpawnShapeValue { | |
SaveData saveData = data.getSaveData(); | |
AssetDescriptor descriptor = saveData.loadAsset(); | |
if(descriptor!=null){ | |
- Model model = manager.get(descriptor); | |
+ Model model = (Model) manager.get(descriptor); | |
setMesh(model.meshes.get((Integer)saveData.load("index")), model); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes, jrenner told me the same about that, i think it can be related to java sdk, will add this fix.