Explorar o código

report tiff version string

David Rose %!s(int64=22) %!d(string=hai) anos
pai
achega
e8fef96e62
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx

+ 4 - 0
panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx

@@ -208,6 +208,10 @@ TypeHandle PNMFileTypeTIFF::_type_handle;
 ////////////////////////////////////////////////////////////////////
 PNMFileTypeTIFF::
 PNMFileTypeTIFF() {
+  if (pnmimage_tiff_cat.is_debug()) {
+    pnmimage_tiff_cat.debug()
+      << TIFFGetVersion() << "\n";
+  }
 }
 
 ////////////////////////////////////////////////////////////////////