Added missing var declaration.

empirephoenix-patch-1
NemesisMate 7 years ago committed by Rémy Bouquet
parent 7aafb514bf
commit ab8ddd5ab5
  1. 2
      jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java

@ -174,6 +174,8 @@ public class TextureBlenderAWT extends AbstractTextureBlender {
// float blendFactor = this.blendFactor * (1f - ((1f - pixelColor[3]) * materialColor[3]));
// float oneMinusFactor = 1f - blendFactor;
float col;
switch (blendType) {
case MTEX_BLEND:
result[0] = blendFactor * pixelColor[0] + oneMinusFactor * materialColor[0];

Loading…
Cancel
Save