Commit Graph

1540 Commits

Author SHA1 Message Date
rdb 5f2c0a6e04 Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
 * In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
rdb 2275784525 More Python 3 support, and a bit of work toward being able to compile as panda3d/core.pyd, etc. 2013-12-23 18:57:48 +00:00
rdb c729775265 The 'new' module has been deprecated since 2.6 and removed in Python 3, let's not use it (use 'types' module instead) 2013-12-23 15:08:00 +00:00
David Rose 5bd9eaf7fc fix import error 2013-12-19 18:56:45 +00:00
rdb 088df4a3d2 A few modernisation fixes, mostly for Python 3 support 2013-12-17 22:51:28 +00:00
rdb 66f4964c8b Oops, checked in the wrong file 2013-12-17 20:04:59 +00:00
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
David Rose 09211b1e64 report ImportError message more usefully 2013-08-27 17:40:24 +00:00
rdb 388c938c06 Add import for backward compatibility 2013-08-25 19:38:25 +00:00
rdb d489f68115 Add support for 2D texture arrays to ShaderGenerator and BufferViewer (actual render-to-texture-array functionality to come) 2013-08-12 09:18:24 +00:00
David Rose a1c70ce95e avoid some divide-by-zero exceptions 2013-08-04 18:14:37 +00:00
rdb bba6537f97 Fix VFSImporter for modules that change their sys.modules definition (such as 'Pmw' and 'panda3d') 2013-07-23 18:09:44 +00:00
David Rose dd423baf64 support openWindow(host = xxx) 2013-05-06 17:09:29 +00:00
rdb 192d10b937 Experimental Python 3 support to the C++ code including interrogate. Also adds support for rich comparison in interrogate. 2013-02-16 19:22:26 +00:00
David Rose 3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
rdb d3d69aca60 fix crash in ShowBase.printEnvDebugInfo. fixes: LP#1021465 2012-07-09 10:04:05 +00:00
rdb 438c297968 apply fix from et1337 2012-03-28 16:15:00 +00:00
David Rose 237ae859d4 fix a2dTop etc. for y-up coordinate systems; add base.setAspectRatio() 2012-03-02 04:27:06 +00:00
David Rose 89cc0051ae fix base.oobeCull() 2012-02-23 15:12:52 +00:00
David Rose 540e5ff85e whoops, float not int 2012-02-14 23:14:03 +00:00
David Rose 2a782774aa whoops, important to default want-dev correctly based on __debug__ 2012-02-13 18:25:12 +00:00
David Rose cf816c9885 some config vars to control buffer viewer 2012-02-13 18:06:14 +00:00
David Rose 91cb23abb0 oobeCull() also wants a cam argument 2012-02-09 22:35:08 +00:00
David Rose 6d630e2cf1 auto-clear depth between eyes by default for stereo 2012-02-08 20:34:26 +00:00
David Rose 71871ba28b base.oobe() accepts cam argument 2012-02-07 22:08:53 +00:00
David Rose 6d7d6e9271 minor fix 2012-01-31 22:11:09 +00:00
rdb aa76d1ca47 um, fix paste-buffer corruption issue, heh heh 2012-01-28 14:17:18 +00:00
rdb 1c5366dfce fix Tkinter woes on OS X by giving Tkinter control over the main loop instead of Panda 2012-01-28 14:14:30 +00:00
rdb 9dcc7a5e35 fix Tk crash on OSX 2012-01-22 12:42:45 +00:00
David Rose 38de5011e1 remove-callback-window 2012-01-18 19:25:16 +00:00
David Rose 17f27744a9 add base.adjustWindowAspectRatio() 2012-01-17 05:39:25 +00:00
David Rose fb71b744a9 add wx-main-loop 2012-01-16 01:56:48 +00:00
David Rose 6f5fd1525d GraphicsWindow::_unexposed_draw 2012-01-15 20:13:16 +00:00
David Rose 279b3a8aeb support wx main loop in p3d system too 2012-01-14 01:18:10 +00:00
David Rose 93d625845c invert the WxGlobal loop: now wx owns the main loop, it seems to like that a lot better. 2012-01-14 00:16:05 +00:00
David Rose d4ba4f4caf initialize self.direct 2012-01-13 22:58:54 +00:00
David Rose da7a5b6b55 protect against no profile module 2012-01-13 18:21:35 +00:00
David Rose a2a8aacb7e respect fbprops in WxPandaWindow 2012-01-13 14:37:17 +00:00
David Rose 50e53a4d4e better support for multiple windows, multiple trackballs, one camera 2012-01-13 00:22:05 +00:00
David Rose 60f62deed1 minor fix when specifying an explicit pipe 2012-01-09 23:46:35 +00:00
David Rose 7c60573ab5 what a mess __dev__ has become 2012-01-09 22:17:54 +00:00
David Rose 5e4ca78c07 leveleditor works on Mac too 2012-01-09 21:55:54 +00:00
David Rose 56f22e0692 WxPandaWindow 2012-01-08 16:10:18 +00:00
David Rose ea05496d09 disable Toontown's cheesy lock for normal, threaded Panda 2012-01-06 00:51:54 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 807a6f61da Add patch from community member teedee to improve alternate coordinate-system support 2011-11-17 19:41:33 +00:00
David Rose 0f96fafca5 add show-scene-graph-analyzer-meter config var 2011-11-11 15:13:11 +00:00
David Rose f1c5c8ecaf integrate gui sound fixes from community member Bruce Smith 2011-11-02 21:13:03 +00:00
David Rose 134e9a9e92 dual names for interrogate 2011-10-11 00:45:51 +00:00