mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
minor tweaks
This commit is contained in:
parent
edd8e59a26
commit
cf761ff85a
@ -41,13 +41,18 @@ using namespace std;
|
|||||||
// launched as a separate executable from the p3d_plugin
|
// launched as a separate executable from the p3d_plugin
|
||||||
// dll, because that's the only way Windows can launch a
|
// dll, because that's the only way Windows can launch a
|
||||||
// sub-process, and also because it makes it possible to
|
// sub-process, and also because it makes it possible to
|
||||||
// compile-time link with the Python dll, instead of
|
// compile-time link with Panda and Python, instead of
|
||||||
// having to go through the clumsy dynamic-loading
|
// having to go through the clumsy dynamic-loading
|
||||||
// interface.
|
// interface.
|
||||||
//
|
//
|
||||||
// Communication is via XML files exchanged via
|
// Communication is via XML files exchanged via
|
||||||
// anonymous pipes from the parent process. This
|
// anonymous pipes from the parent process. This isn't
|
||||||
// executable is not designed to stand alone.
|
// terribly eficient, of course, but it's easy; and it's
|
||||||
|
// a fairly low-bandwidth channel so efficiency is not
|
||||||
|
// paramount.
|
||||||
|
//
|
||||||
|
// This executable is not designed to stand alone; it is
|
||||||
|
// designed to be invoked only by p3d_plugin.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
class P3DPythonRun {
|
class P3DPythonRun {
|
||||||
public:
|
public:
|
||||||
|
@ -35,6 +35,7 @@ P3DSession(P3DInstance *inst) {
|
|||||||
_python_root_dir = "C:/p3drun";
|
_python_root_dir = "C:/p3drun";
|
||||||
|
|
||||||
string p3dpython = "c:/cygwin/home/drose/player/direct/built/bin/p3dpython.exe";
|
string p3dpython = "c:/cygwin/home/drose/player/direct/built/bin/p3dpython.exe";
|
||||||
|
// string p3dpython = _python_root_dir + "/p3dpython.exe";
|
||||||
|
|
||||||
// Populate the new process' environment.
|
// Populate the new process' environment.
|
||||||
string env;
|
string env;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user