Browse Source

libpandaode as separate package

rdb 16 years ago
parent
commit
657845986d
1 changed files with 11 additions and 2 deletions
  1. 11 2
      direct/src/p3d/panda3d.pdef

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

@@ -58,8 +58,7 @@ class panda3d(package):
            'direct.particles.*',
            'direct.showbase.*',
            'direct.showutil.*',
-           'direct.stdpy.*')          
-
+           'direct.stdpy.*')
 
     # Exclude these GUI toolkits; they're big, and many applications don't
     # use them.  We define them as separate, optional packages, below.
@@ -116,6 +115,16 @@ plugin-path $EGG_ROOT
 load-file-type egg pandaegg
 """)
 
+class ode(package):
+    # This package contains the code for the ODE integration.
+    # As not every application uses the ODE layers, and to cut down
+    # the download size, it is provided as separate package.
+
+    config(display_name = "Panda3D Open Dynamics Engine integration")
+    require('panda3d')
+
+    file('libpandaode.dll')
+
 class wx(package):
     config(display_name = "wxPython GUI Toolkit")
     require('panda3d')