diff --git a/jme3-core/src/main/java/com/jme3/light/SpotLight.java b/jme3-core/src/main/java/com/jme3/light/SpotLight.java index 636f1447f..70115bbc5 100644 --- a/jme3-core/src/main/java/com/jme3/light/SpotLight.java +++ b/jme3-core/src/main/java/com/jme3/light/SpotLight.java @@ -102,7 +102,7 @@ public class SpotLight extends Light { this(); setPosition(position); setDirection(direction); - this.spotRange = range; + setSpotRange(range); } /** @@ -133,7 +133,7 @@ public class SpotLight extends Light { computeAngleParameters(); setPosition(position); setDirection(direction); - this.spotRange = range; + setSpotRange(range); } /** @@ -158,7 +158,7 @@ public class SpotLight extends Light { computeAngleParameters(); setPosition(position); setDirection(direction); - this.spotRange = range; + setSpotRange(range); }