- fix typo in palette item

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9132 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent af88b0dadd
commit be7ebbc5f3
  1. 3
      sdk/jme3-codepalette/src/com/jme3/gde/codepalette/scene/JmePaletteFog.java

@ -47,8 +47,7 @@ public class JmePaletteFog implements ActiveEditorDrop {
private String createBody() { private String createBody() {
String body = " /** Add fog to a scene */\n FilterPostProcessor fpp=new FilterPostProcessor(assetManager);\n FogFilter fog=new FogFilter();\n fog.setFogColor(new ColorRGBA(0.9f, 0.9f, 0.9f, 1.0f));\n fog.setFogDistance(155);\n fog.setFogDensity(2.0f);\n fpp.addFilter(fog);\n viewPort.addProcessor(fpp); String body = " /** Add fog to a scene */\n FilterPostProcessor fpp=new FilterPostProcessor(assetManager);\n FogFilter fog=new FogFilter();\n fog.setFogColor(new ColorRGBA(0.9f, 0.9f, 0.9f, 1.0f));\n fog.setFogDistance(155);\n fog.setFogDensity(2.0f);\n fpp.addFilter(fog);\n viewPort.addProcessor(fpp);\n";
\n";
return body; return body;
} }

Loading…
Cancel
Save