From: Michael B. <mba...@la...> - 2003-04-29 16:22:10
|
--- OSGProgramChunk.cpp.~1.6.~ 2003-04-07 23:09:51.000000000 -0700 +++ OSGProgramChunk.cpp 2003-04-25 16:05:34.000000000 -0700 @@ -197,7 +197,10 @@ { std::ifstream s(file); - return read(s); + if (s) + return read(s); + else + return true; } /*! Read the program string from the given stream -- Michael Babcock Jim Henson's Creature Shop |