ConstellationMgr.cpp   ConstellationMgr.cpp 
skipping to change at line 445 skipping to change at line 445
{ {
// if the texture isn't found in the skycult ures/[culture] directory, // if the texture isn't found in the skycult ures/[culture] directory,
// try the central textures diectory. // try the central textures diectory.
qWarning() << "WARNING, could not locate tex ture file " << texfile qWarning() << "WARNING, could not locate tex ture file " << texfile
<< " in the skycultures/" << cultur eName << " in the skycultures/" << cultur eName
<< " directory... looking in gener al textures/ directory..."; << " directory... looking in gener al textures/ directory...";
try try
{ {
texturePath = StelFileMgr::findFile( QString("textures/")+texfile); texturePath = StelFileMgr::findFile( QString("textures/")+texfile);
} }
catch(exception& e2) catch(std::exception& e2)
{ {
qWarning() << "ERROR: could not find texture, " << texfile << ": " << e2.what(); qWarning() << "ERROR: could not find texture, " << texfile << ": " << e2.what();
} }
} }
cons->artTexture = StelApp::getInstance().getTexture Manager().createTextureThread(texturePath); cons->artTexture = StelApp::getInstance().getTexture Manager().createTextureThread(texturePath);
int texSizeX, texSizeY; int texSizeX, texSizeY;
if (cons->artTexture==NULL || !cons->artTexture->get Dimensions(texSizeX, texSizeY)) if (cons->artTexture==NULL || !cons->artTexture->get Dimensions(texSizeX, texSizeY))
{ {
 End of changes. 1 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/