* Remove InstancedNode.setCullHint(CullHint.Never) from TestInstancedNode example as it is not neccessary

experimental
shadowislord 11 years ago
parent eee43b470e
commit 564a08672f
  1. 1
      jme3-core/src/main/java/com/jme3/scene/instancing/InstancedNode.java
  2. 2
      jme3-examples/src/main/java/jme3test/scene/instancing/TestInstanceNode.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;

@ -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);

Loading…
Cancel
Save