Texture apply mode bug fix

Hello world !



I found a bug on the current CVS version ! :mrgreen:



In com.jme.image.Texture.java



The setApply function doesn't allow to use the AM_ADD (==5) parameter :



<code>



  public void setApply(int apply) {

    if (apply < 0 || apply > 4) {

      apply = AM_MODULATE;

    }

    this.apply = apply;

  }



</code>



I simply change the 4 in the precondition to a 5 :



<code>



  public void setApply(int apply) {

    if (apply < 0 || apply > 5) {

      apply = AM_MODULATE;

    }

    this.apply = apply;

  }



</code>





Ok… It was very simple, but I'm happy because this is the first bug that I correct  :smiley: !!!



Could somebody modify the CVS version to all people use my modified code please.


Thanks Targ! Fix applied.