From 06de64654eec0f16ce4b63f47f294aeb4abb7b81 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Fri, 3 Feb 2012 23:31:11 +0000 Subject: [PATCH] SDK: - fix palette item mixup git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9133 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/gde/codepalette/scene/JmePaletteSetJ3M.java | 6 +++--- .../com/jme3/gde/codepalette/scene/JmePaletteWireframe.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteSetJ3M.java b/sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteSetJ3M.java index c530ae068..c834aa904 100644 --- a/sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteSetJ3M.java +++ b/sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteSetJ3M.java @@ -40,14 +40,14 @@ import org.openide.text.ActiveEditorDrop; * * @author normenhansen, zathras */ -public class JmePaletteWireframe implements ActiveEditorDrop { +public class JmePaletteSetJ3M implements ActiveEditorDrop { - public JmePaletteWireframe() { + public JmePaletteSetJ3M() { } private String createBody() { - String body = "mat.getAdditionalRenderState().setWireframe(true);\n"; + String body = "Material mat = assetManager.loadMaterial(\"Common/Materials/RedColor.j3m\");\n"; return body; } diff --git a/sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteWireframe.java b/sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteWireframe.java index c834aa904..c530ae068 100644 --- a/sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteWireframe.java +++ b/sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteWireframe.java @@ -40,14 +40,14 @@ import org.openide.text.ActiveEditorDrop; * * @author normenhansen, zathras */ -public class JmePaletteSetJ3M implements ActiveEditorDrop { +public class JmePaletteWireframe implements ActiveEditorDrop { - public JmePaletteSetJ3M() { + public JmePaletteWireframe() { } private String createBody() { - String body = "Material mat = assetManager.loadMaterial(\"Common/Materials/RedColor.j3m\");\n"; + String body = "mat.getAdditionalRenderState().setWireframe(true);\n"; return body; }