[WIP] Level Editor

I’m attempting to run the LevelEditor from a mac, and there are major graphical problems with it.

This is from a fresh 1.7.0 install of Panda3D with wxPython 2.8.11.0. Python version is 2.5.4 (which is what Panda3D 1.7 for Mac installs on).

Following is a screen shot of what it shows and my Terminal output (edited down to remove repeating errors)

Here’s the program’s output. Note that all the kCG error codes are from Mac OS X’s Core Graphics, maybe there’s a bug in Panda3D’s Mac drivers? The Null Pointer error is continuous and seems to be repeating every update. I counted 241 lines per second of it.

richcon$ uname -a
Darwin book-of-rich 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
richcon$ ppython
Python 2.5.4 (r254:67916, Jun 24 2010, 21:47:25) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from direct.leveleditor import LevelEditorStart
Known pipe types:
  osxGraphicsPipe
(all display modules loaded.)
Thu Jan 27 11:28:40 book-of-rich ppython[1029] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
Thu Jan 27 11:28:40 book-of-rich ppython[1029] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
in SceneGraphUIDropTarget::init...
Thu Jan 27 11:28:41 book-of-rich ppython[1029] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
[… 18 more times]
Thu Jan 27 11:28:41 book-of-rich ppython[1029] <Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 1332
Thu Jan 27 11:28:41 book-of-rich ppython[1029] <Error>: kCGErrorIllegalArgument: CGSRemoveSurface: Invalid window 0x534
Thu Jan 27 11:28:41 book-of-rich ppython[1029] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
[… repeating every frame]

I know this is and old thread. But has there been any progress on getting this to work?. OR even better is there anything like it that I might be missing here on the forum that I could download?