Fix to water filter where there was a remaining "m_" in a paremeter set
Thanks to maximusgrey git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10780 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
f8be6cf686
commit
f3165b632f
@ -1024,7 +1024,7 @@ public class WaterFilter extends Filter {
|
|||||||
public void setReflectionDisplace(float reflectionDisplace) {
|
public void setReflectionDisplace(float reflectionDisplace) {
|
||||||
this.reflectionDisplace = reflectionDisplace;
|
this.reflectionDisplace = reflectionDisplace;
|
||||||
if (material != null) {
|
if (material != null) {
|
||||||
material.setFloat("m_ReflectionDisplace", reflectionDisplace);
|
material.setFloat("ReflectionDisplace", reflectionDisplace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user