diff --git a/direct/src/ffi/genPyCode b/direct/src/ffi/genPyCode index cb82a3ac38..c98862d39a 100755 --- a/direct/src/ffi/genPyCode +++ b/direct/src/ffi/genPyCode @@ -20,6 +20,12 @@ shift firstarg="$1" fi +if [ "$firstarg" = "-tt" ]; then +extra_genPyCode_libs="$extra_genPyCode_libs libttrader" +shift +firstarg="$1" +fi + if [ "$firstarg" = "-v" ]; then extra_genPyCode_libs="$extra_genPyCode_libs libvrpn" shift diff --git a/direct/src/showbase/ppython b/direct/src/showbase/ppython index 26b7edb039..125aac0221 100755 --- a/direct/src/showbase/ppython +++ b/direct/src/showbase/ppython @@ -53,6 +53,10 @@ if [ "$BARTOP" ]; then BARTOP=`cygpath -w $BARTOP` export BARTOP fi +if [ "$TTRADER" ]; then + TTRADER=`cygpath -w $TTRADER` + export TTRADER +fi # Export the proper home environment variable HOME=`cygpath -w $HOME`