From 1403574835a51819295babae700817f11a1d2626 Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Thu, 7 Jul 2011 19:40:40 +0000 Subject: [PATCH] Fix to properties storing (bad casting removed). git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/scene/plugins/blender/structures/Properties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/structures/Properties.java b/engine/src/blender/com/jme3/scene/plugins/blender/structures/Properties.java index eb090d704..0eaa633d3 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/structures/Properties.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/structures/Properties.java @@ -315,7 +315,7 @@ public class Properties implements Cloneable, Savable { } @Override - @SuppressWarnings("rawtypes") + @SuppressWarnings({ "rawtypes", "unchecked" }) public void write(JmeExporter ex) throws IOException { OutputCapsule oc = ex.getCapsule(this); oc.write(name, "name", DEFAULT_NAME); @@ -347,7 +347,7 @@ public class Properties implements Cloneable, Savable { LOGGER.warning("Cannot save the property's value! Invalid array subtype! Property: name: " + name + "; subtype: " + subType); } case IDP_GROUP: - oc.write((Properties) value, "value", null); + oc.writeSavableArrayList((ArrayList) value, "value", null); break; case IDP_DOUBLE: oc.write((Double) value, "value", 0);