From 9ef10e5ac74da365fb4b8235ad9bd536b00342cd Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sun, 3 Apr 2011 15:35:25 +0000 Subject: [PATCH] - remove deprecated material data from BasicGame template Main.java git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7172 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- sdk/BasicGameTemplate/src/mygame/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/BasicGameTemplate/src/mygame/Main.java b/sdk/BasicGameTemplate/src/mygame/Main.java index 09d7f0b46..dfb7ca32b 100644 --- a/sdk/BasicGameTemplate/src/mygame/Main.java +++ b/sdk/BasicGameTemplate/src/mygame/Main.java @@ -25,8 +25,8 @@ public class Main extends SimpleApplication { Geometry geom = new Geometry("Box", b); geom.updateModelBound(); - Material mat = new Material(assetManager, "Common/MatDefs/Misc/SolidColor.j3md"); - mat.setColor("m_Color", ColorRGBA.Blue); + Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); + mat.setColor("Color", ColorRGBA.Blue); geom.setMaterial(mat); rootNode.attachChild(geom);