diff options
-rw-r--r-- | src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java b/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java index 4ade79a..e5b442e 100644 --- a/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java +++ b/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java @@ -698,7 +698,8 @@ public class SymbolTable extends java.lang.Object implements SceneGraphObjectRef * Add all the named objects in <code>map</code> */ public void addNamedObjects( HashMap map ) { - namedObjects.putAll( map ); + if (map!=null) + namedObjects.putAll( map ); } /** |