[Hdrflow-svn] SF.net SVN: hdrflow: [326] trunk/lib/extras/src/imf/mfn/mfn.cpp
Status: Pre-Alpha
Brought to you by:
glslang
From: <gl...@us...> - 2007-09-30 14:55:36
|
Revision: 326 http://hdrflow.svn.sourceforge.net/hdrflow/?rev=326&view=rev Author: glslang Date: 2007-09-30 07:55:34 -0700 (Sun, 30 Sep 2007) Log Message: ----------- + build fixes Modified Paths: -------------- trunk/lib/extras/src/imf/mfn/mfn.cpp Modified: trunk/lib/extras/src/imf/mfn/mfn.cpp =================================================================== --- trunk/lib/extras/src/imf/mfn/mfn.cpp 2007-09-30 14:33:59 UTC (rev 325) +++ trunk/lib/extras/src/imf/mfn/mfn.cpp 2007-09-30 14:55:34 UTC (rev 326) @@ -62,6 +62,7 @@ virtual MStatus close( ); private: + pl::string pathname_; il::image_type_ptr im_; }; @@ -89,7 +90,7 @@ #ifndef NDEBUG MGlobal::displayInfo( "HDRFlow: plugin found ..." ); #endif - im_ = plug->load( pl::make_stream( pathname.asChar( ), std::ios::in ) ); + im_ = plug->load( pathname.asChar( ) ); if( im_ ) { #ifndef NDEBUG @@ -170,6 +171,10 @@ MStatus image_reader::close( ) { +#ifndef NDEBUG + MGlobal::displayInfo( "HDRFlow: closing..." ); +#endif + im_.reset( ); return MS::kSuccess; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |