StelViewportEffect.cpp   StelViewportEffect.cpp 
skipping to change at line 183 skipping to change at line 183
VertexPoint &vertex_point(vertex_point_array [(j*(max_x+1)+i)]); VertexPoint &vertex_point(vertex_point_array [(j*(max_x+1)+i)]);
vertex_point.color[0] = vertex_point.color[1 ] = vertex_point.color[2] = vertex_point.color[0] = vertex_point.color[1 ] = vertex_point.color[2] =
(vertex_point.h<=0.0) ? 0.0 : exp(gamma*log(vertex_point.h/max_ h)); (vertex_point.h<=0.0) ? 0.0 : exp(gamma*log(vertex_point.h/max_ h));
vertex_point.color[3] = 1.0f; vertex_point.color[3] = 1.0f;
} }
} }
} }
else else
{ {
QFile file; QFile file;
QDataStream in; QTextStream in;
in.setVersion(QDataStream::Qt_4_5);
try try
{ {
file.setFileName(StelFileMgr::findFile(custom_distor tion_file)); file.setFileName(StelFileMgr::findFile(custom_distor tion_file));
file.open(QIODevice::ReadOnly); file.open(QIODevice::ReadOnly);
if (file.error() != QFile::NoError) if (file.error() != QFile::NoError)
throw("failed to open file"); throw("failed to open file");
in.setDevice(&file); in.setDevice(&file);
} }
catch (std::runtime_error& e) catch (std::runtime_error& e)
{ {
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/