소스 검색

egg module should include ptloader

David Rose 13 년 전
부모
커밋
59a2aba71d
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      direct/src/p3d/panda3d.pdef

+ 5 - 2
direct/src/p3d/panda3d.pdef

@@ -241,17 +241,20 @@ class audio(package):
 
 
 class egg(package):
 class egg(package):
     # This package contains the code for reading and operating on egg
     # This package contains the code for reading and operating on egg
-    # files.  Since the Packager automatically converts egg files to bam
-    # files, this is not needed for most Panda3D applications.
+    # files and other model files.  Since the Packager automatically
+    # converts egg files to bam files, this is not needed for most
+    # Panda3D applications.
 
 
     config(display_name = "Panda3D egg loader")
     config(display_name = "Panda3D egg loader")
     require('panda3d')
     require('panda3d')
 
 
     file('libpandaegg.dll', required = True)
     file('libpandaegg.dll', required = True)
+    file('libp3ptloader.dll', required = True)
 
 
     file('egg.prc', extract = True, text = """
     file('egg.prc', extract = True, text = """
 plugin-path $EGG_ROOT
 plugin-path $EGG_ROOT
 load-file-type egg pandaegg
 load-file-type egg pandaegg
+load-file-type p3ptloader
 """)
 """)
 
 
 class ode(package):
 class ode(package):