SDK:
- fix palette item mixup git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9133 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
be7ebbc5f3
commit
06de64654e
@ -40,14 +40,14 @@ import org.openide.text.ActiveEditorDrop;
|
|||||||
*
|
*
|
||||||
* @author normenhansen, zathras
|
* @author normenhansen, zathras
|
||||||
*/
|
*/
|
||||||
public class JmePaletteWireframe implements ActiveEditorDrop {
|
public class JmePaletteSetJ3M implements ActiveEditorDrop {
|
||||||
|
|
||||||
public JmePaletteWireframe() {
|
public JmePaletteSetJ3M() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String createBody() {
|
private String createBody() {
|
||||||
|
|
||||||
String body = "mat.getAdditionalRenderState().setWireframe(true);\n";
|
String body = "Material mat = assetManager.loadMaterial(\"Common/Materials/RedColor.j3m\");\n";
|
||||||
return body;
|
return body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,14 +40,14 @@ import org.openide.text.ActiveEditorDrop;
|
|||||||
*
|
*
|
||||||
* @author normenhansen, zathras
|
* @author normenhansen, zathras
|
||||||
*/
|
*/
|
||||||
public class JmePaletteSetJ3M implements ActiveEditorDrop {
|
public class JmePaletteWireframe implements ActiveEditorDrop {
|
||||||
|
|
||||||
public JmePaletteSetJ3M() {
|
public JmePaletteWireframe() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String createBody() {
|
private String createBody() {
|
||||||
|
|
||||||
String body = "Material mat = assetManager.loadMaterial(\"Common/Materials/RedColor.j3m\");\n";
|
String body = "mat.getAdditionalRenderState().setWireframe(true);\n";
|
||||||
return body;
|
return body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user