소스 검색

SDK: fix compliation

shadowislord 10 년 전
부모
커밋
b7c2050487
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/EditableMaterialFile.java

+ 1 - 1
sdk/jme3-materialeditor/src/com/jme3/gde/materials/EditableMaterialFile.java

@@ -532,7 +532,7 @@ public class EditableMaterialFile {
                             //TODO: seems like flip is removed due to ImageToAwt
                             texKey.setFlipY(false);
                             Texture texture = manager.loadTexture(texKey);
-                            MatParamTexture newParam = new MatParamTexture(texParam.getVarType(), texParam.getName(), texture, texParam.getUnit());
+                            MatParamTexture newParam = new MatParamTexture(texParam.getVarType(), texParam.getName(), texture, texParam.getUnit(), null);
                             materialParameters.put(newParam.getName(), new MaterialProperty(newParam));
                         } catch (Exception ex) {
                             Exceptions.printStackTrace(ex);