StelSkyLayerMgr.cpp   StelSkyLayerMgr.cpp 
skipping to change at line 305 skipping to change at line 305
StelSkyLayerP tile = StelSkyLayerP(new StelSkyImageTile(vm, 0)); StelSkyLayerP tile = StelSkyLayerP(new StelSkyImageTile(vm, 0));
tile->setFrameType(StelCore::FrameJ2000); tile->setFrameType(StelCore::FrameJ2000);
QString key = insertSkyLayer(tile, filename, visible); QString key = insertSkyLayer(tile, filename, visible);
if (key == id) if (key == id)
return true; return true;
else else
return false; return false;
} }
catch (std::runtime_error& e) catch (std::runtime_error& e)
{ {
qWarning() << "Could not find image" << filename << ":" << e .what(); qWarning() << "Could not find image" << QDir::toNativeSepara tors(filename) << ":" << e.what();
return false; return false;
} }
} }
bool StelSkyLayerMgr::loadSkyImageAltAz(const QString& id, const QString& f ilename, bool StelSkyLayerMgr::loadSkyImageAltAz(const QString& id, const QString& f ilename,
double al t0, double azi0, double al t0, double azi0,
double al t1, double azi1, double al t1, double azi1,
double al t2, double azi2, double al t2, double azi2,
double al t3, double azi3, double al t3, double azi3,
double mi nRes, double maxBright, bool visible) double mi nRes, double maxBright, bool visible)
skipping to change at line 371 skipping to change at line 371
StelSkyLayerP tile = StelSkyLayerP(new StelSkyImageTile(vm, 0)); StelSkyLayerP tile = StelSkyLayerP(new StelSkyImageTile(vm, 0));
tile->setFrameType(StelCore::FrameAltAz); tile->setFrameType(StelCore::FrameAltAz);
QString key = insertSkyLayer(tile, filename, visible); QString key = insertSkyLayer(tile, filename, visible);
if (key == id) if (key == id)
return true; return true;
else else
return false; return false;
} }
catch (std::runtime_error& e) catch (std::runtime_error& e)
{ {
qWarning() << "Could not find image" << filename << ":" << e .what(); qWarning() << "Could not find image" << QDir::toNativeSepara tors(filename) << ":" << e.what();
return false; return false;
} }
} }
void StelSkyLayerMgr::showLayer(const QString& id, bool b) void StelSkyLayerMgr::showLayer(const QString& id, bool b)
{ {
if (allSkyLayers.contains(id)) if (allSkyLayers.contains(id))
if (allSkyLayers.value(id)!=NULL) if (allSkyLayers.value(id)!=NULL)
allSkyLayers[id]->show = b; allSkyLayers[id]->show = b;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 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/