Browse Source

bam: Fix typo in ClipPlaneAttrib::fillin

Sam Edwards 7 years ago
parent
commit
74bb2fef2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/clipPlaneAttrib.cxx

+ 1 - 1
panda/src/pgraph/clipPlaneAttrib.cxx

@@ -1017,7 +1017,7 @@ fillin(DatagramIterator &scan, BamReader *manager) {
   _on_planes.resize(num_on_planes);
   _on_planes.resize(num_on_planes);
   if (manager->get_file_minor_ver() >= 40) {
   if (manager->get_file_minor_ver() >= 40) {
     for (int i = 0; i < num_on_planes; i++) {
     for (int i = 0; i < num_on_planes; i++) {
-      manager->read_pointer(scan);
+      _on_planes[i].fillin(scan, manager);
     }
     }
   } else {
   } else {
     manager->read_pointers(scan, num_on_planes);
     manager->read_pointers(scan, num_on_planes);