diff --git a/jme3-core/src/main/java/com/jme3/scene/instancing/InstancedNode.java b/jme3-core/src/main/java/com/jme3/scene/instancing/InstancedNode.java index fa636c87e..5e5c595ef 100644 --- a/jme3-core/src/main/java/com/jme3/scene/instancing/InstancedNode.java +++ b/jme3-core/src/main/java/com/jme3/scene/instancing/InstancedNode.java @@ -3,7 +3,6 @@ package com.jme3.scene.instancing; import com.jme3.material.Material; import com.jme3.renderer.RenderManager; import com.jme3.renderer.ViewPort; -import com.jme3.scene.BatchNode; import com.jme3.scene.Geometry; import com.jme3.scene.GeometryGroupNode; import com.jme3.scene.Mesh; diff --git a/jme3-examples/src/main/java/jme3test/scene/instancing/TestInstanceNode.java b/jme3-examples/src/main/java/jme3test/scene/instancing/TestInstanceNode.java index c99406122..3efcb75d3 100644 --- a/jme3-examples/src/main/java/jme3test/scene/instancing/TestInstanceNode.java +++ b/jme3-examples/src/main/java/jme3test/scene/instancing/TestInstanceNode.java @@ -41,7 +41,6 @@ import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.Mesh; import com.jme3.scene.Spatial; -import com.jme3.scene.Spatial.CullHint; import com.jme3.scene.instancing.InstancedGeometry; import com.jme3.scene.instancing.InstancedNode; import com.jme3.scene.shape.Box; @@ -104,7 +103,6 @@ public class TestInstanceNode extends SimpleApplication { materials[5].setColor("Color", ColorRGBA.Yellow); instancedNode = new InstancedNode("instanced_node"); - instancedNode.setCullHint(CullHint.Never); rootNode.attachChild(instancedNode);