Level Editor seems broken in Panda3D 1.8 for Windows

Hello all,

I’m currently learning Panda (switching a project from Ogre), and as a bootstrap the art guys who work with me found the Level editor shipped along the SDK useful, so we’re using it a lot currently to setup a proof of concept. However since version 1.8 I have an error:

“wxWidget runtime error: assertion failure IsActive()”

And the editor render window is stuck. I wonder if it could be related to threading, is there any way to tweak this (ie disable threads for the sole editor) without recompiling the Panda core ?

Regards.

Don’t get that error and can use the editor, but get this in the console:

C:\Panda3D-1.8.0\direct\leveleditor>python -i "LevelEditorStart.py"
Known pipe types:
  wglGraphicsPipe
(all display modules loaded.)
:display:windisplay(warning): SetActiveWindow() failed!
:display:windisplay(warning): SetForegroundWindow() failed!
:display:windisplay(warning): SetForegroundWindow() failed!
:display:windisplay(warning): SetForegroundWindow() failed!
:display:windisplay(warning): SetForegroundWindow() failed!
in SceneGraphUIDropTarget::init...
protoPaletteData doesn't exist
Traceback (most recent call last):
  File "C:\Panda3D-1.8.0\direct\wxwidgets\WxPandaShell.py", line 205, in wxStep
    self.evtLoop.Dispatch()
  File "C:\Panda3D-1.8.0\python\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",
line 8149, in Dispatch
    return _core_.EventLoop_Dispatch(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "IsRunning()" failed at ..\..\src\msw\e
vtloop.cpp(222) in wxEventLoop::Dispatch(): can't call Dispatch() if not running

:task(error): Exception occurred in PythonTask evtLoopTask
Traceback (most recent call last):
  File "C:\Panda3D-1.8.0\direct\showbase\ShowBase.py", line 2782, in __wxTimerCa
llback
    self.taskMgr.step()
  File "C:\Panda3D-1.8.0\direct\task\Task.py", line 460, in step
    self.mgr.poll()
  File "C:\Panda3D-1.8.0\direct\wxwidgets\WxPandaShell.py", line 205, in wxStep
    self.evtLoop.Dispatch()
  File "C:\Panda3D-1.8.0\python\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",
line 8149, in Dispatch
    return _core_.EventLoop_Dispatch(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "IsRunning()" failed at ..\..\src\msw\e
vtloop.cpp(222) in wxEventLoop::Dispatch(): can't call Dispatch() if not running

Traceback (most recent call last):
  File "C:\Panda3D-1.8.0\direct\wxwidgets\WxPandaShell.py", line 205, in wxStep
    self.evtLoop.Dispatch()
  File "C:\Panda3D-1.8.0\python\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",
line 8149, in Dispatch
    return _core_.EventLoop_Dispatch(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "IsRunning()" failed at ..\..\src\msw\e
vtloop.cpp(222) in wxEventLoop::Dispatch(): can't call Dispatch() if not running

And then

:task(error): Exception occurred in PythonTask evtLoopTask
Traceback (most recent call last):
  File "C:\Panda3D-1.8.0\direct\showbase\ShowBase.py", line 2782, in __wxTimerCa
llback
    self.taskMgr.step()
  File "C:\Panda3D-1.8.0\direct\task\Task.py", line 460, in step
    self.mgr.poll()
  File "C:\Panda3D-1.8.0\direct\wxwidgets\WxPandaShell.py", line 205, in wxStep
    self.evtLoop.Dispatch()
  File "C:\Panda3D-1.8.0\python\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",
line 8149, in Dispatch
    return _core_.EventLoop_Dispatch(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "IsRunning()" failed at ..\..\src\msw\e
vtloop.cpp(222) in wxEventLoop::Dispatch(): can't call Dispatch() if not running

over and over again.