InstancedNode: protect the no-arg constructor and javadoc it

This commit is contained in:
Stephen Gold 2020-06-14 02:06:00 -07:00
parent e78f303a9d
commit 6402aad452

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