From 2b8101166848bbe78f098029eacf72256e58920d Mon Sep 17 00:00:00 2001 From: Paul Speed Date: Fri, 11 Mar 2016 05:38:32 -0500 Subject: [PATCH] Adding @Override to cloneForSpatial() methods in terrain lib. --- .../java/com/jme3/terrain/geomipmap/NormalRecalcControl.java | 1 + .../main/java/com/jme3/terrain/geomipmap/TerrainLodControl.java | 1 + 2 files changed, 2 insertions(+) diff --git a/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/NormalRecalcControl.java b/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/NormalRecalcControl.java index 4c41e739e..2f4d7d980 100644 --- a/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/NormalRecalcControl.java +++ b/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/NormalRecalcControl.java @@ -67,6 +67,7 @@ public class NormalRecalcControl extends AbstractControl { } + @Override public Control cloneForSpatial(Spatial spatial) { NormalRecalcControl control = new NormalRecalcControl(terrain); control.setSpatial(spatial); diff --git a/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainLodControl.java b/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainLodControl.java index 8ad2425ad..7d2f43305 100644 --- a/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainLodControl.java +++ b/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainLodControl.java @@ -301,6 +301,7 @@ public class TerrainLodControl extends AbstractControl { + @Override public Control cloneForSpatial(Spatial spatial) { if (spatial instanceof Terrain) { List cameraClone = new ArrayList();