Browse Source

don't sort down list from bam file

David Rose 23 years ago
parent
commit
5900ee0934
1 changed files with 3 additions and 4 deletions
  1. 3 4
      panda/src/pgraph/pandaNode.cxx

+ 3 - 4
panda/src/pgraph/pandaNode.cxx

@@ -302,10 +302,9 @@ complete_down_list(PandaNode::Down &down_list,
     (*di) = DownConnection(child_node, sort);
     (*di) = DownConnection(child_node, sort);
   }
   }
 
 
-  // Now we should sort the list, since the sorting is based on
-  // pointer order, which might be different from one session to the
-  // next.
-  down_list.sort();
+  // Unlike the up list, we should *not* sort the down list.  The down
+  // list is stored in a specific order, not related to pointer order;
+  // and this order should be preserved from one session to the next.
 
 
   return pi;
   return pi;
 }
 }