png and tiff plugins do not depend on C++ exceptions.

This commit is contained in:
Philip Lamb 2020-03-13 20:00:01 +13:00
parent aa94cd4fef
commit caf3167dbe
3 changed files with 4 additions and 4 deletions

View File

@ -111,10 +111,10 @@ ENDIF()
IF(GIFLIB_FOUND) IF(GIFLIB_FOUND)
ADD_PLUGIN_DIRECTORY(gif) ADD_PLUGIN_DIRECTORY(gif)
ENDIF() ENDIF()
IF(PNG_FOUND AND OSG_CPP_EXCEPTIONS_AVAILABLE) IF(PNG_FOUND)
ADD_PLUGIN_DIRECTORY(png) ADD_PLUGIN_DIRECTORY(png)
ENDIF() ENDIF()
IF(TIFF_FOUND AND OSG_CPP_EXCEPTIONS_AVAILABLE) IF(TIFF_FOUND)
ADD_PLUGIN_DIRECTORY(tiff) ADD_PLUGIN_DIRECTORY(tiff)
ENDIF() ENDIF()
IF(GDAL_FOUND) IF(GDAL_FOUND)

View File

@ -80,7 +80,7 @@ static bool getFilenameAndParams(const std::string& input, std::string& filename
* This pseudo-loader makes it simple to change the orientation of a saved * This pseudo-loader makes it simple to change the orientation of a saved
* model by specifying a correcting rotation as part of the filename. * model by specifying a correcting rotation as part of the filename.
* *
* Usage: <modelfile.ext>.<rx>,<ry>,<rz>.globe * Usage: <modelfile.ext>.<rx>,<ry>,<rz>.rot
* where: * where:
* <modelfile.ext> = an model filename. * <modelfile.ext> = an model filename.
* <rx> = rotation around X axis [degrees] * <rx> = rotation around X axis [degrees]

View File

@ -81,7 +81,7 @@ static bool getFilenameAndParams(const std::string& input, std::string& filename
* This pseudo-loader make it simple to change the origin of a saved model * This pseudo-loader make it simple to change the origin of a saved model
* by specifying a correcting translation as part of the filename. * by specifying a correcting translation as part of the filename.
* *
* Usage: <modelfile.ext>.<tx>,<ty>,<tz>.globe * Usage: <modelfile.ext>.<tx>,<ty>,<tz>.trans
* where: * where:
* <modelfile.ext> = an model filename. * <modelfile.ext> = an model filename.
* <tx> = translation along the X axis. * <tx> = translation along the X axis.