Corrected spelling mistake.

experimental
InShadow 9 years ago
parent a22f6772e6
commit 6c9cd46e11
  1. 2
      jme3-core/src/main/java/com/jme3/scene/BatchNode.java
  2. 2
      jme3-core/src/main/java/com/jme3/scene/Geometry.java
  3. 2
      jme3-core/src/main/java/com/jme3/scene/GeometryGroupNode.java
  4. 2
      jme3-core/src/main/java/com/jme3/scene/instancing/InstancedNode.java

@ -116,7 +116,7 @@ public class BatchNode extends GeometryGroupNode {
} }
@Override @Override
public void onGeoemtryUnassociated(Geometry geom) { public void onGeometryUnassociated(Geometry geom) {
setNeedsFullRebatch(true); setNeedsFullRebatch(true);
} }

@ -344,7 +344,7 @@ public class Geometry extends Spatial {
if (groupNode != null) { if (groupNode != null) {
// Once the geometry is removed // Once the geometry is removed
// from the parent, the group node needs to be updated. // from the parent, the group node needs to be updated.
groupNode.onGeoemtryUnassociated(this); groupNode.onGeometryUnassociated(this);
groupNode = null; groupNode = null;
// change the default to -1 to make error detection easier // change the default to -1 to make error detection easier

@ -83,5 +83,5 @@ public abstract class GeometryGroupNode extends Node {
* *
* @param geom The Geometry which is being unassociated. * @param geom The Geometry which is being unassociated.
*/ */
public abstract void onGeoemtryUnassociated(Geometry geom); public abstract void onGeometryUnassociated(Geometry geom);
} }

@ -329,7 +329,7 @@ public class InstancedNode extends GeometryGroupNode {
} }
@Override @Override
public void onGeoemtryUnassociated(Geometry geom) { public void onGeometryUnassociated(Geometry geom) {
removeFromInstancedGeometry(geom); removeFromInstancedGeometry(geom);
} }
} }

Loading…
Cancel
Save