Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion jme3-core/src/main/java/com/jme3/scene/Geometry.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ public class Geometry extends Spatial {
private int nbSimultaneousGPUMorph = -1;

/**
* Serialization only. Do not use.
* Instantiate a <code>Geometry</code> with no name, no mesh, and no
* material. The mesh and material must be set prior to rendering.
*/
public Geometry() {
this(null);
Expand Down
7 changes: 3 additions & 4 deletions jme3-core/src/main/java/com/jme3/scene/Node.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -83,7 +83,7 @@ public class Node extends Spatial {
private boolean updateListValid = false;

/**
* Serialization only. Do not use.
* Instantiate a <code>Node</code> with no name, no parent, and no children.
*/
public Node() {
this(null);
Expand All @@ -93,8 +93,7 @@ public Node() {
* Constructor instantiates a new <code>Node</code> with a default empty
* list for containing children.
*
* @param name the name of the scene element. This is required for
* identification and comparison purposes.
* @param name the name of the scene element
*/
public Node(String name) {
super(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ public class InstancedGeometry extends Geometry {

private int firstUnusedIndex = 0;

/**
* Serialization only. Do not use.
*/
protected InstancedGeometry() {
public InstancedGeometry() {
super();
setIgnoreTransform(true);
setBatchHint(BatchHint.Never);
Expand Down