Browse Source

pfm issue

David Rose 13 years ago
parent
commit
33e6308d42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pandatool/src/pfmprogs/pfmBba.cxx

+ 1 - 1
pandatool/src/pfmprogs/pfmBba.cxx

@@ -79,7 +79,7 @@ process_pfm(const Filename &input_filename, PfmFile &file) {
 
 
   if (!bba_filename.empty()) {
   if (!bba_filename.empty()) {
     bba_filename.set_text();
     bba_filename.set_text();
-    PT(BoundingHexahedron) bounds = file.compute_planar_bounds(pfm_bba_dist[0], pfm_bba_dist[1]);
+    PT(BoundingHexahedron) bounds = file.compute_planar_bounds(LPoint2f(0.5, 0.5), pfm_bba_dist[0], pfm_bba_dist[1], false);
     nassertr(bounds != (BoundingHexahedron *)NULL, false);
     nassertr(bounds != (BoundingHexahedron *)NULL, false);
     
     
     pofstream out;
     pofstream out;