* 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:
Sha..rd 2012-09-25 02:04:33 +00:00
parent 86a3b0532c
commit 1a12437436
2 changed files with 7 additions and 4 deletions

View File

@ -658,9 +658,13 @@ public class RenderState implements Cloneable, Savable {
**/
public void setPolyOffset(float factor, float units) {
applyPolyOffset = true;
offsetEnabled = true;
offsetFactor = factor;
offsetUnits = units;
if (factor == 0 && units == 0) {
offsetEnabled = false;
} else {
offsetEnabled = true;
offsetFactor = factor;
offsetUnits = units;
}
cachedHashCode = -1;
}

View File

@ -186,7 +186,6 @@ public class HDRRenderer implements SceneProcessor {
blockSize.y / pixelSize.y);
numPixels = blocks.x * blocks.y;
}
System.out.println(numPixels);
mat.setBoolean("Blocks", true);
if (mode == LUMMODE_ENCODE_LUM)