|
@@ -113,10 +113,12 @@ public class TerrainPatch extends Geometry {
|
|
|
|
|
|
public TerrainPatch() {
|
|
public TerrainPatch() {
|
|
super("TerrainPatch");
|
|
super("TerrainPatch");
|
|
|
|
+ setBatchHint(BatchHint.Never);
|
|
}
|
|
}
|
|
|
|
|
|
public TerrainPatch(String name) {
|
|
public TerrainPatch(String name) {
|
|
super(name);
|
|
super(name);
|
|
|
|
+ setBatchHint(BatchHint.Never);
|
|
}
|
|
}
|
|
|
|
|
|
public TerrainPatch(String name, int size) {
|
|
public TerrainPatch(String name, int size) {
|
|
@@ -171,6 +173,7 @@ public class TerrainPatch extends Geometry {
|
|
float[] heightMap, Vector3f origin, int totalSize,
|
|
float[] heightMap, Vector3f origin, int totalSize,
|
|
Vector2f offset, float offsetAmount) {
|
|
Vector2f offset, float offsetAmount) {
|
|
super(name);
|
|
super(name);
|
|
|
|
+ setBatchHint(BatchHint.Never);
|
|
this.size = size;
|
|
this.size = size;
|
|
this.stepScale = stepScale;
|
|
this.stepScale = stepScale;
|
|
this.totalSize = totalSize;
|
|
this.totalSize = totalSize;
|