removed the comment and returned a final modification to the method.

This commit is contained in:
javasabr 2017-01-23 23:05:46 +03:00
parent f016469933
commit c2219ecce5
2 changed files with 1 additions and 2 deletions

View File

@ -204,7 +204,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable,
*
* @param postShadowMat
*/
protected void setPostShadowMaterial(Material postShadowMat) {
protected final void setPostShadowMaterial(Material postShadowMat) {
this.postshadowMat = postShadowMat;
postshadowMat.setFloat("ShadowMapSize", shadowMapSize);
for (int i = 0; i < nbShadowMaps; i++) {

View File

@ -136,7 +136,6 @@ public class DirectionalLightShadowRenderer extends AbstractShadowRenderer {
@Override
protected void updateShadowCams(Camera viewCam) {
// it needs to support for editors
if (light == null) {
logger.warning("The light can't be null for a " + getClass().getName());
return;