Compare commits

..

1 Commits

Author SHA1 Message Date
Torsten Dreyer
b20a49b018 bump version number to 2.7.0 2012-01-17 08:35:57 +01:00
6 changed files with 11 additions and 19 deletions

View File

@@ -221,10 +221,6 @@ if(WIN32)
set( RT_LIBRARY "winmm" )
endif(WIN32)
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
set (WARNING_FLAGS "-Wall -Wno-overloaded-virtual")
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS} ${MSVC_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS} ${MSVC_FLAGS} ${BOOST_CXX_FLAGS}")

View File

@@ -84,8 +84,7 @@ if(SIMGEAR_SHARED)
${ZLIB_LIBRARY}
${OPENSCENEGRAPH_LIBRARIES}
${OPENAL_LIBRARY} ${ALUT_LIBRARY}
${OPENGL_LIBRARY}
${JPEG_LIBRARY})
${OPENGL_LIBRARY})
if(LIBSVN_FOUND)
target_link_libraries(SimGearScene ${LIBSVN_LIBRARIES})

View File

@@ -265,7 +265,7 @@ bool Dir::create(mode_t mode)
// recursively create parent directories
Dir pr(parent());
if (!pr.path().isNull() && !pr.exists()) {
if (!pr.exists()) {
bool ok = pr.create(mode);
if (!ok) {
return false;

View File

@@ -216,14 +216,11 @@ TexTuple makeTexTuple(Effect* effect, const SGPropertyNode* props,
if (pImage)
{
imageName = pImage->getStringValue();
if (!imageName.empty())
absFileName = SGModelLib::findDataFile(imageName, options);
if (absFileName.empty())
{
absFileName = SGModelLib::findDataFile(imageName, options);
if (absFileName.empty())
{
SG_LOG(SG_INPUT, SG_ALERT, "Texture file not found: '"
<< imageName << "'");
}
SG_LOG(SG_INPUT, SG_ALERT, "Texture file not found: '"
<< imageName << "'");
}
}

View File

@@ -284,10 +284,10 @@ ModelRegistry::readImage(const string& fileName,
case GL_COMPRESSED_RED_GREEN_RGTC2_EXT:
case GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT:
SG_LOG(SG_IO, SG_WARN, "Image \"" << fileName << "\"\n"
"uses compressed textures which cannot be supported on "
"some systems.\n"
"Please decompress this texture for improved portability.");
SG_LOG(SG_IO, SG_ALERT, "Image \"" << fileName
<< "\" contains non portable compressed textures.\n"
"Usage of these textures depend on an extension that"
" is not guaranteed to be present.");
break;
default:

View File

@@ -1 +1 @@
2.6.0
2.7.0