protected TerrainPatch getPatch(int quad) {
        if (children != null)
            for (int x = children.size(); --x >= 0;) {
                Spatial child = children.get(x);
                if (child instanceof TerrainPatch) {
                    TerrainPatch tb = (TerrainPatch) child;
                    if (tb.getQuadrant() == quad)
                        return tb;
                }
            }
        return null;
    }
lock or unlock the meshes of this terrain.
Locked meshes are uneditable but have better performance.
@param locked or unlocked
jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainQuad.java