Browse Source

add direct.filter

David Rose 16 years ago
parent
commit
691ee623f4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      direct/src/p3d/panda3d.pdef

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

@@ -45,6 +45,7 @@ class panda3d(package):
            'direct.directtools.*',
            'direct.directtools.*',
            'direct.directutil.*',
            'direct.directutil.*',
            'direct.distributed.*',
            'direct.distributed.*',
+           'direct.filter.*',
            'direct.fsm.*',
            'direct.fsm.*',
            'direct.gui.*',
            'direct.gui.*',
            'direct.interval.*',
            'direct.interval.*',
@@ -54,6 +55,10 @@ class panda3d(package):
            'direct.stdpy.*',
            'direct.stdpy.*',
            'direct.task.*')
            'direct.task.*')
 
 
+    # Pick up the shader files that appear in direct/src/filter.
+    import direct
+    file(Filename(direct.__path__[0], 'filter/*.sha'), newDir = 'direct/filter')
+
     # Exclude these Panda3D libs; they are big and many applications don't
     # Exclude these Panda3D libs; they are big and many applications don't
     # use them.  We define them as separate, optional packages, below,
     # use them.  We define them as separate, optional packages, below,
     # except for skel - this is useless in a shipped game anyways.
     # except for skel - this is useless in a shipped game anyways.