Просмотр исходного кода

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

rdb 12 лет назад
Родитель
Сommit
037d803ae8
1 измененных файлов с 0 добавлено и 6 удалено
  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
     // process.  This isn't nearly as good, but I guess it's better
     // 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);
     SPAWN_THREAD(_p3dpython_thread, p3dpython_thread_run, this);