* Remove unneeded printlns in AudioNode and HDRRenderer
* Poly offset will become disabled if factor and units are set to 0. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9770 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
86a3b0532c
commit
1a12437436
@ -658,9 +658,13 @@ public class RenderState implements Cloneable, Savable {
|
|||||||
**/
|
**/
|
||||||
public void setPolyOffset(float factor, float units) {
|
public void setPolyOffset(float factor, float units) {
|
||||||
applyPolyOffset = true;
|
applyPolyOffset = true;
|
||||||
offsetEnabled = true;
|
if (factor == 0 && units == 0) {
|
||||||
offsetFactor = factor;
|
offsetEnabled = false;
|
||||||
offsetUnits = units;
|
} else {
|
||||||
|
offsetEnabled = true;
|
||||||
|
offsetFactor = factor;
|
||||||
|
offsetUnits = units;
|
||||||
|
}
|
||||||
cachedHashCode = -1;
|
cachedHashCode = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -186,7 +186,6 @@ public class HDRRenderer implements SceneProcessor {
|
|||||||
blockSize.y / pixelSize.y);
|
blockSize.y / pixelSize.y);
|
||||||
numPixels = blocks.x * blocks.y;
|
numPixels = blocks.x * blocks.y;
|
||||||
}
|
}
|
||||||
System.out.println(numPixels);
|
|
||||||
|
|
||||||
mat.setBoolean("Blocks", true);
|
mat.setBoolean("Blocks", true);
|
||||||
if (mode == LUMMODE_ENCODE_LUM)
|
if (mode == LUMMODE_ENCODE_LUM)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user