diff --git a/jme3-core/src/main/java/com/jme3/scene/Geometry.java b/jme3-core/src/main/java/com/jme3/scene/Geometry.java index 89f37ec9d..b45a6a4ea 100644 --- a/jme3-core/src/main/java/com/jme3/scene/Geometry.java +++ b/jme3-core/src/main/java/com/jme3/scene/Geometry.java @@ -317,6 +317,13 @@ public class Geometry extends Spatial { worldLights.sort(true); } + @Override + protected void updateWorldLightList() { + super.updateWorldLightList(); + // geometry requires lights to be sorted + worldLights.sort(true); + } + /** * Associate this Geometry with a {@link GeometryGroupNode}. *