assimp: Disable loading .glb and .gltf via Assimp by default

Fixes #1537
This commit is contained in:
rdb 2023-10-22 12:08:09 +02:00
parent 3833a35fa9
commit b7fa25f8f4

View File

@ -59,7 +59,7 @@ string LoaderFileTypeAssimp::
get_additional_extensions() const {
// This may be called at static init time, so ensure it is constructed now.
static ConfigVariableString assimp_disable_extensions
("assimp-disable-extensions", "",
("assimp-disable-extensions", "gltf glb",
PRC_DESC("A list of extensions (without preceding dot) that should not be "
"loaded via the Assimp loader, even if Assimp supports these "
"formats. It is useful to set this for eg. gltf and glb files "