StelSkyImageTile.cpp   StelSkyImageTile.cpp 
skipping to change at line 114 skipping to change at line 114
// Return the list of tiles which should be drawn. // Return the list of tiles which should be drawn.
void StelSkyImageTile::getTilesToDraw(QMultiMap<double, StelSkyImageTile*>& result, StelCore* core, const StelGeom::ConvexPolygon& viewPortPoly, float limitLuminance, bool recheckIntersect) void StelSkyImageTile::getTilesToDraw(QMultiMap<double, StelSkyImageTile*>& result, StelCore* core, const StelGeom::ConvexPolygon& viewPortPoly, float limitLuminance, bool recheckIntersect)
{ {
#ifndef NDEBUG #ifndef NDEBUG
// When this method is called, we can assume that: // When this method is called, we can assume that:
// - the parent tile min resolution was reached // - the parent tile min resolution was reached
// - the parent tile is intersecting FOV // - the parent tile is intersecting FOV
// - the parent tile is not scheduled for deletion // - the parent tile is not scheduled for deletion
Q_ASSERT(isDeletionScheduled()==false);
const StelSkyImageTile* parent = qobject_cast<StelSkyImageTile*>(QOb ject::parent()); const StelSkyImageTile* parent = qobject_cast<StelSkyImageTile*>(QOb ject::parent());
if (parent!=NULL) if (parent!=NULL)
{ {
Q_ASSERT(isDeletionScheduled()==false);
const double degPerPixel = 1./core->getProjection(StelCore:: FrameJ2000)->getPixelPerRadAtCenter()*180./M_PI; const double degPerPixel = 1./core->getProjection(StelCore:: FrameJ2000)->getPixelPerRadAtCenter()*180./M_PI;
Q_ASSERT(degPerPixel<parent->minResolution); Q_ASSERT(degPerPixel<parent->minResolution);
Q_ASSERT(parent->isDeletionScheduled()==false); Q_ASSERT(parent->isDeletionScheduled()==false);
} }
#endif #endif
// An error occured during loading // An error occured during loading
if (errorOccured) if (errorOccured)
return; return;
 End of changes. 2 change blocks. 
1 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/