Browse Source

revert accidental checkin

David Rose 18 years ago
parent
commit
e07a957a74
1 changed files with 0 additions and 15 deletions
  1. 0 15
      panda/src/egg2pg/eggLoader.cxx

+ 0 - 15
panda/src/egg2pg/eggLoader.cxx

@@ -95,7 +95,6 @@
 #include "bitArray.h"
 #include "bitArray.h"
 #include "thread.h"
 #include "thread.h"
 
 
-
 #include <ctype.h>
 #include <ctype.h>
 #include <algorithm>
 #include <algorithm>
 
 
@@ -136,20 +135,6 @@ LODInstance(EggNode *egg_node) {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 EggLoader::
 EggLoader::
 EggLoader() {
 EggLoader() {
-  printf ("testing out scenegraph stuff\n");
-  PT(PandaNode) a = new PandaNode("a");
-  PT(PandaNode) b = new PandaNode("b");
-  PT(PandaNode) c = new PandaNode("c");
-  PT(PandaNode) d = new PandaNode("d");
-  NodePath npa(a), npb(b), npc(c),npd(d);
-  npb.reparent_to(npa);
-  npc.reparent_to(npa);  
-  npd.reparent_to(npa);
-  Thread *current_thread = Thread::get_current_thread();
-  pmap<PandaNode *, PandaNode *> inst_map;
-  PT(PandaNode) e=a->r_copy_subgraph(inst_map, current_thread);
-  printf ("abcd copied, num children = %d\n",e->get_num_children());
-  
   // We need to enforce whatever coordinate system the user asked for.
   // We need to enforce whatever coordinate system the user asked for.
   _data = new EggData;
   _data = new EggData;
   _data->set_coordinate_system(egg_coordinate_system);
   _data->set_coordinate_system(egg_coordinate_system);