Browse Source

Let's reenable libp3dpython.so as viable fallback on non-Windows platforms.

rdb 12 years ago
parent
commit
037d803ae8
1 changed files with 0 additions and 6 deletions
  1. 0 6
      direct/src/plugin/p3dSession.cxx

+ 0 - 6
direct/src/plugin/p3dSession.cxx

@@ -1232,12 +1232,6 @@ start_p3dpython(P3DInstance *inst) {
     // Fall back to running it in a sub-thread within the same
     // Fall back to running it in a sub-thread within the same
     // process.  This isn't nearly as good, but I guess it's better
     // process.  This isn't nearly as good, but I guess it's better
     // than nothing.
     // than nothing.
-#ifndef _WIN32
-    // Let's only do this sub-thread fallback on Windows.  On Mac and
-    // Linux, just fail.
-    set_failed();
-    return;
-#endif  // _WIN32
 
 
     INIT_THREAD(_p3dpython_thread);
     INIT_THREAD(_p3dpython_thread);
     SPAWN_THREAD(_p3dpython_thread, p3dpython_thread_run, this);
     SPAWN_THREAD(_p3dpython_thread, p3dpython_thread_run, this);