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 committed by Robert Osfield
parent 1bd75f464a
commit 75d03de844
3 changed files with 4 additions and 4 deletions

View File

@ -111,10 +111,10 @@ ENDIF()
IF(GIFLIB_FOUND)
ADD_PLUGIN_DIRECTORY(gif)
ENDIF()
IF(PNG_FOUND AND OSG_CPP_EXCEPTIONS_AVAILABLE)
IF(PNG_FOUND)
ADD_PLUGIN_DIRECTORY(png)
ENDIF()
IF(TIFF_FOUND AND OSG_CPP_EXCEPTIONS_AVAILABLE)
IF(TIFF_FOUND)
ADD_PLUGIN_DIRECTORY(tiff)
ENDIF()
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
* 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:
* <modelfile.ext> = an model filename.
* <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
* 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:
* <modelfile.ext> = an model filename.
* <tx> = translation along the X axis.