File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
jme3-core/src/main/java/com/jme3/scene Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,8 @@ public class Geometry extends Spatial {
9898 private int nbSimultaneousGPUMorph = -1 ;
9999
100100 /**
101- * Serialization only. Do not use.
101+ * Instantiate a <code>Geometry</code> with no name, no mesh, and no
102+ * material. The mesh and material must be set prior to rendering.
102103 */
103104 public Geometry () {
104105 this (null );
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2009-2018 jMonkeyEngine
2+ * Copyright (c) 2009-2019 jMonkeyEngine
33 * All rights reserved.
44 *
55 * Redistribution and use in source and binary forms, with or without
@@ -83,7 +83,7 @@ public class Node extends Spatial {
8383 private boolean updateListValid = false ;
8484
8585 /**
86- * Serialization only. Do not use .
86+ * Instantiate a <code>Node</code> with no name, no parent, and no children .
8787 */
8888 public Node () {
8989 this (null );
@@ -93,8 +93,7 @@ public Node() {
9393 * Constructor instantiates a new <code>Node</code> with a default empty
9494 * list for containing children.
9595 *
96- * @param name the name of the scene element. This is required for
97- * identification and comparison purposes.
96+ * @param name the name of the scene element
9897 */
9998 public Node (String name ) {
10099 super (name );
Original file line number Diff line number Diff line change @@ -64,10 +64,7 @@ public class InstancedGeometry extends Geometry {
6464
6565 private int firstUnusedIndex = 0 ;
6666
67- /**
68- * Serialization only. Do not use.
69- */
70- protected InstancedGeometry () {
67+ public InstancedGeometry () {
7168 super ();
7269 setIgnoreTransform (true );
7370 setBatchHint (BatchHint .Never );
You can’t perform that action at this time.
0 commit comments