TerrainLodControl no longer caches camera positions. Issue #121
This commit is contained in:
parent
d7b3d580ed
commit
7df0b41585
@ -160,12 +160,11 @@ public class TerrainLodControl extends AbstractControl {
|
||||
}
|
||||
|
||||
if (cameras != null) {
|
||||
if (cameraLocations.isEmpty() && !cameras.isEmpty()) {
|
||||
cameraLocations.clear();
|
||||
for (Camera c : cameras) // populate them
|
||||
{
|
||||
cameraLocations.add(c.getLocation());
|
||||
}
|
||||
}
|
||||
updateLOD(cameraLocations, lodCalculator);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user