Browse Source

*** empty log message ***

Mark Mine 25 years ago
parent
commit
32a8158945
1 changed files with 3 additions and 1 deletions
  1. 3 1
      direct/src/showbase/showBase.cxx

+ 3 - 1
direct/src/showbase/showBase.cxx

@@ -195,7 +195,9 @@ setup_panda_2d(GraphicsWindow *win, const string &graph_name) {
 
   add_render_layer(win, render2d_top, cam2d);
 
-  return NodePath(render2d_arc);
+  NodePath render2d_np = NodePath();
+  render2d_np.extend_by(render2d_arc);
+  return render2d_np;
 }
 
 // Create an auxiliary scene graph starting at the indicated node,