diff --git a/jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java b/jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java index 56bc02bd1..5b2ee6fd8 100644 --- a/jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java +++ b/jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java @@ -254,6 +254,16 @@ public class LodGenerator { } }; + /** + * Construct a LodGenerator for the given mesh + * + * @param mesh the mesh to consider to generate de Lods. + */ + public LodGenerator(Mesh mesh) { + this.mesh = mesh; + build(); + } + /** * Construct a LodGenerator for the given geometry *