Browse Source

Applied patch from David McCabe

rdb 16 years ago
parent
commit
0dd958c608
1 changed files with 3 additions and 2 deletions
  1. 3 2
      panda/src/grutil/geoMipTerrain.cxx

+ 3 - 2
panda/src/grutil/geoMipTerrain.cxx

@@ -627,8 +627,9 @@ set_heightfield(const Filename &filename, PNMFileType *ftype) {
       
       // If it's not a valid size, tell PNMImage to resize it.
       if (reqx != imgheader.get_x_size() || reqy != imgheader.get_y_size()) {
-        grutil_cat.warning() << "Rescaling heightfield image " << filename << " to "
-                                             << reqx << " by " << reqy << " pixels\n";
+        grutil_cat.warning() << "Rescaling heightfield image " << filename
+                             << " from " << imgheader.get_x_size() << "x" << imgheader.get_y_size()
+                             << " to " << reqx << "x" << reqy << " pixels.\n";
         _heightfield.set_read_size(reqx, reqy);
       }
     }