Browse Source

fix test_collide

David Rose 24 years ago
parent
commit
c86002f6f7
2 changed files with 2 additions and 0 deletions
  1. 1 0
      panda/src/collide/Sources.pp
  2. 1 0
      panda/src/collide/test_collide.cxx

+ 1 - 0
panda/src/collide/Sources.pp

@@ -54,6 +54,7 @@
   #define TARGET test_collide
   #define TARGET test_collide
   #define LOCAL_LIBS \
   #define LOCAL_LIBS \
     collide
     collide
+  #define OTHER_LIBS $[OTHER_LIBS] pystub
 
 
   #define SOURCES \
   #define SOURCES \
     test_collide.cxx
     test_collide.cxx

+ 1 - 0
panda/src/collide/test_collide.cxx

@@ -62,6 +62,7 @@ main(int argc, char *argv[]) {
 
 
   CollisionTraverser ct;
   CollisionTraverser ct;
   PT(CollisionHandlerPusher) chp = new CollisionHandlerPusher;
   PT(CollisionHandlerPusher) chp = new CollisionHandlerPusher;
+  chp->add_collider(aa, a_aa);
   ct.add_collider(aa, chp);
   ct.add_collider(aa, chp);
 
 
   ct.traverse(r);
   ct.traverse(r);