From 1ad174f7b56233d2a4ed1f309a87ae43572d33e3 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Fri, 17 Jun 2011 21:08:20 +0000 Subject: [PATCH] WaterFilter fixed some remaining m_ stuff git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7652 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/desktop-fx/com/jme3/water/WaterFilter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/src/desktop-fx/com/jme3/water/WaterFilter.java b/engine/src/desktop-fx/com/jme3/water/WaterFilter.java index ce2c06cd4..9ecaf05e2 100644 --- a/engine/src/desktop-fx/com/jme3/water/WaterFilter.java +++ b/engine/src/desktop-fx/com/jme3/water/WaterFilter.java @@ -270,7 +270,7 @@ public class WaterFilter extends Filter { material.setFloat("ReflectionDisplace", reflectionDisplace); material.setFloat("FoamIntensity", foamIntensity); material.setFloat("UnderWaterFogDistance", underWaterFogDistance); - material.setFloat("m_CausticsIntensity", causticsIntensity); + material.setFloat("CausticsIntensity", causticsIntensity); } @@ -883,7 +883,7 @@ public class WaterFilter extends Filter { public void setFoamIntensity(float foamIntensity) { this.foamIntensity = foamIntensity; if (material != null) { - material.setFloat("m_FoamIntensity", foamIntensity); + material.setFloat("FoamIntensity", foamIntensity); } } @@ -932,7 +932,7 @@ public class WaterFilter extends Filter { public void setUnderWaterFogDistance(float underWaterFogDistance) { this.underWaterFogDistance = underWaterFogDistance; if (material != null) { - material.setFloat("m_UnderWaterFogDistance", underWaterFogDistance); + material.setFloat("UnderWaterFogDistance", underWaterFogDistance); } } @@ -951,7 +951,7 @@ public class WaterFilter extends Filter { public void setCausticsIntensity(float causticsIntensity) { this.causticsIntensity = causticsIntensity; if (material != null) { - material.setFloat("m_CausticsIntensity", causticsIntensity); + material.setFloat("CausticsIntensity", causticsIntensity); } } }