InstancedNode: protect the no-arg constructor and javadoc it

master
Stephen Gold 5 years ago
parent e78f303a9d
commit 6402aad452
  1. 5
      jme3-core/src/main/java/com/jme3/scene/instancing/InstancedNode.java

@ -183,7 +183,10 @@ public class InstancedNode extends GeometryGroupNode {
private HashMap<InstanceTypeKey, InstancedGeometry> instancesMap =
new HashMap<InstanceTypeKey, InstancedGeometry>();
public InstancedNode() {
/**
* Serialization only. Do not use.
*/
protected InstancedNode() {
super();
// NOTE: since we are deserializing,
// the control is going to be added automatically here.

Loading…
Cancel
Save