mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
makepanda: enable Assimp in default Confauto.prc if built
This commit is contained in:
parent
51414466da
commit
a9ff8a22f0
@ -21,6 +21,11 @@
|
||||
|
||||
load-file-type egg pandaegg
|
||||
|
||||
# If we built with Assimp support, we can enable the Assimp loader,
|
||||
# which allows us to load many model formats natively.
|
||||
|
||||
load-file-type p3assimp
|
||||
|
||||
# These entries work very similar to load-file-type, except they are
|
||||
# used by the MovieVideo and MovieAudio code to determine which module
|
||||
# should be loaded in order to decode files of the given extension.
|
||||
|
@ -2882,6 +2882,9 @@ else:
|
||||
# otherwise, disable it.
|
||||
confautoprc = confautoprc.replace('#st#', '#')
|
||||
|
||||
if PkgSkip("ASSIMP"):
|
||||
confautoprc = confautoprc.replace("load-file-type p3assimp", "#load-file-type p3assimp")
|
||||
|
||||
if (os.path.isfile("makepanda/myconfig.in")):
|
||||
configprc = ReadFile("makepanda/myconfig.in")
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user