Skip to content

Commit 7c4c953

Browse files
authored
Removing deprecated settings (#468)
Removing deprecated settings. Should confuse
1 parent e649511 commit 7c4c953

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

jme3-materialeditor/src/com/jme3/gde/materials/EditableMaterialFile.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,8 @@ private void prepareAdditionalStates() {
7272
additionalRenderStates.put("DepthWrite", new MaterialProperty("OnOff", "DepthWrite", ""));
7373
additionalRenderStates.put("DepthTest", new MaterialProperty("OnOff", "DepthTest", ""));
7474
additionalRenderStates.put("ColorWrite", new MaterialProperty("OnOff", "ColorWrite", ""));
75-
additionalRenderStates.put("PointSprite", new MaterialProperty("OnOff", "PointSprite", ""));
7675
additionalRenderStates.put("FaceCull", new MaterialProperty("FaceCullMode", "FaceCull", ""));
7776
additionalRenderStates.put("Blend", new MaterialProperty("BlendMode", "Blend", ""));
78-
additionalRenderStates.put("AlphaTestFalloff", new MaterialProperty("Float", "AlphaTestFalloff", ""));
7977
additionalRenderStates.put("PolyOffset", new MaterialProperty("Float,Float", "PolyOffset", ""));
8078
}
8179

@@ -474,10 +472,8 @@ public void setAsMaterial(Material mat) throws IOException {
474472
additionalRenderStates.put("DepthWrite", new MaterialProperty("OnOff", "DepthWrite", mat.getAdditionalRenderState().isDepthWrite() ? "On" : "Off"));
475473
additionalRenderStates.put("DepthTest", new MaterialProperty("OnOff", "DepthTest", mat.getAdditionalRenderState().isDepthTest() ? "On" : "Off"));
476474
additionalRenderStates.put("ColorWrite", new MaterialProperty("OnOff", "ColorWrite", mat.getAdditionalRenderState().isColorWrite() ? "On" : "Off"));
477-
additionalRenderStates.put("PointSprite", new MaterialProperty("OnOff", "PointSprite", mat.getAdditionalRenderState().isPointSprite() ? "On" : "Off"));
478475
additionalRenderStates.put("FaceCull", new MaterialProperty("FaceCullMode", "FaceCull", mat.getAdditionalRenderState().getFaceCullMode().name()));
479476
additionalRenderStates.put("Blend", new MaterialProperty("BlendMode", "Blend", mat.getAdditionalRenderState().getBlendMode().name()));
480-
additionalRenderStates.put("AlphaTestFalloff", new MaterialProperty("Float", "AlphaTestFalloff", mat.getAdditionalRenderState().getAlphaFallOff() + ""));
481477
additionalRenderStates.put("PolyOffset", new MaterialProperty("Float,Float", "PolyOffset", mat.getAdditionalRenderState().getPolyOffsetUnits() + " " + mat.getAdditionalRenderState().getPolyOffsetFactor()));
482478
checkWithMatDef();
483479
setAsText(getUpdatedContent());

0 commit comments

Comments
 (0)