Browse Source

SDK: fix compliation

shadowislord 10 years ago
parent
commit
851d0bd5c2

+ 1 - 1
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
                             //TODO: seems like flip is removed due to ImageToAwt
                             texKey.setFlipY(false);
                             texKey.setFlipY(false);
                             Texture texture = manager.loadTexture(texKey);
                             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));
                             materialParameters.put(newParam.getName(), new MaterialProperty(newParam));
                         } catch (Exception ex) {
                         } catch (Exception ex) {
                             Exceptions.printStackTrace(ex);
                             Exceptions.printStackTrace(ex);