Browse Source

Provide libp3vision as separate package ('vision')

rdb 16 years ago
parent
commit
d0c833d2ea
1 changed files with 12 additions and 0 deletions
  1. 12 0
      direct/src/p3d/panda3d.pdef

+ 12 - 0
direct/src/p3d/panda3d.pdef

@@ -64,6 +64,7 @@ class panda3d(package):
     # except for skel - this is useless in a shipped game anyways.
     excludeModule('libpandaegg')
     excludeModule('libpandaode')
+    excludeModule('libp3vision')
     excludeModule('libpandaskel')
 
     # Exclude these GUI toolkits; they're big, and many applications don't
@@ -212,6 +213,17 @@ class ode(package):
 
     file('libpandaode.dll')
 
+class vision(package):
+    # This package contains the code for webcam support, augmented
+    # reality and computer vision. As many games will not need this
+    # functionality, it is provided as separate package to save
+    # on package download size.
+
+    config(display_name = "Panda3D Vision modules")
+    require('panda3d')
+
+    file('libp3vision.dll')
+
 class wx(package):
     config(display_name = "wxPython GUI Toolkit")
     config(gui_app = True)