mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
assimp: Disable loading .glb and .gltf via Assimp by default
Fixes #1537
This commit is contained in:
parent
3833a35fa9
commit
b7fa25f8f4
@ -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 "
|
||||
|
Loading…
x
Reference in New Issue
Block a user