MeFisto94 6 years ago
parent
commit
4d4c4933b6

+ 1 - 2
jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/Dot.java

@@ -42,7 +42,6 @@ public class Dot extends JPanel implements MouseInputListener {
     }
 
     public enum ParamType {
-
         Input,
         Output,
         Both
@@ -60,7 +59,7 @@ public class Dot extends JPanel implements MouseInputListener {
        
     }
     
-    public void setShaderTypr(Shader.ShaderType shaderType){
+    public void setShaderType(Shader.ShaderType shaderType){
          this.shaderType = shaderType;
     }
 

+ 1 - 1
jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/NodePanel.java

@@ -407,7 +407,7 @@ public class NodePanel extends DraggablePanel implements Selectable, PropertyCha
 
     public Dot createDot(String type, Dot.ParamType paramType, String paramName) {
         Dot dot1 = new Dot();
-        dot1.setShaderTypr(shaderType);
+        dot1.setShaderType(shaderType);
         dot1.setNode(this);
         dot1.setText(paramName);
         dot1.setParamType(paramType);