Commit Graph

247 Commits

Author SHA1 Message Date
wezu 40c6f41da2 direct: provide snake_case functions for some classes
Closes #147
2017-06-20 21:56:03 +02:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb 54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
rdb 03c8d4c009 Fix use of many builtins 2016-02-02 13:41:20 +01:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 0a9f9887f9 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/Packager.py
	direct/src/p3d/ppackage.py
	makepanda/makepandacore.py
2015-11-21 03:17:33 +01:00
rdb 2d6c2c5c6d Remove dependency on tkpanels and tkwidgets modules when building .p3d package 2015-11-20 17:42:18 +01:00
rdb 31dbcae262 Deprecate many extension methods, make extension methods imported via modules instead of dumped into core.py, move _core.pyd and _direct.pyd back to core.pyd, direct.pyd respectively, move MAIN_DIR set-up code to module init time 2015-11-10 00:44:29 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 0ae2df7e02 Merge branch 'release/1.9.x' 2015-11-01 15:54:58 +01:00
rdb b1c7086cbc Fix Rope, fix some unnecessary reliances on base.config 2015-11-01 15:53:02 +01:00
rdb d9342043b0 Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour 2015-06-28 13:55:31 +02:00
Sam Edwards 118ed131ca direct: Resolve missing import in Actor. 2015-05-02 22:14:17 +02:00
deflected d74d6cb587 Revert "Patch by cfsworks: actor: On removePart, clean up the part's commonBundleHandle."
This reverts commit a4563fb342.

commonBundleHandle is not holding bundle for this part only. When
two or more parts shares or have similar bundles - their bundles
are merged. In these cases it is not correct to remove
the commonBundleHandle for this parts.
2015-03-02 16:03:48 +02:00
rdb 79430f6bc5 Fixes for Python 3 2014-02-27 11:30:56 +00:00
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
Sam Edwards a4563fb342 Patch by cfsworks: actor: On removePart, clean up the part's commonBundleHandle. 2013-12-04 10:28:16 +00:00
David Rose 19a0d3bdb9 reword comment for accuracy 2012-01-18 19:24:31 +00:00
Zhao Huang b4fcbfff0a added getJointTransformState 2011-12-30 01:29:53 +00:00
David Rose 425fa2608e fix LineStream.LineStream() bug 2011-11-04 20:10:12 +00:00
rdb 804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
rdb ac1223d0da Ditch stuff like has_key and backticks 2010-03-19 10:32:09 +00:00
David Rose 1a92ac85bb fix bug with unicode animation names 2009-07-23 16:32:51 +00:00
Zachary Pavlov a3c8f13920 fix for the mast anim issue 2009-06-03 16:20:58 +00:00
Zachary Pavlov 3fcd2a764e fix for actor setLOD 2009-05-07 18:56:33 +00:00
David Rose e570510887 remove old panda support 2008-12-24 19:22:11 +00:00
David Rose 8335c5778c getInitialValue() -> getDefaultValue() 2008-12-24 18:42:10 +00:00
Asad M. Zaman 89a8c9032a controlJoints should be model nodes anyway 2008-12-18 21:44:21 +00:00
David Rose 55a789293a minor optimization features for async flatten 2008-12-16 19:48:28 +00:00
David Rose f3106c89e2 setLODAnimation 2008-12-15 22:44:33 +00:00
David Rose ac06fd3b4a okMissing 2008-11-26 01:09:18 +00:00
David Rose 48c395e10e more better lodname handling 2008-11-26 00:40:03 +00:00
David Rose a831fc8ca6 minor refinement 2008-11-19 22:48:54 +00:00
David Rose c70aadbd89 detect overlapping subparts 2008-11-19 20:26:48 +00:00
Zachary Pavlov 877404d8a9 specific lod lookup for useLOD. Should prevent the sorting problems we've been seeing 2008-11-19 00:06:03 +00:00
Zachary Pavlov fdc9d8fd53 updated sorting algorithm for lods 2008-11-18 21:03:06 +00:00
Asad M. Zaman 0d3349bac0 use the already sortedLODNames instead of sorting everytime 2008-11-14 04:18:48 +00:00
David Rose 9e76c93d1e fix getCurrentFrame(animName = blah) 2008-11-11 00:48:27 +00:00
David Rose d8e3efb1b9 support passing in a NodePath instead of a filename to loadAnims() 2008-11-05 23:39:09 +00:00
David Rose 8b16f6024f more waitPending 2008-09-13 05:18:24 +00:00
David Rose 52fa05d6f9 waitPending 2008-09-13 02:04:05 +00:00
David Rose f8fa118cbe unloadAnims() always postFlatten() 2008-08-28 22:50:07 +00:00
David Rose 63a948749a bindAnim() improvements 2008-08-28 05:50:12 +00:00
David Rose 7fdd1813ac remove some old panda support 2008-08-08 00:13:59 +00:00
David Rose f86360a303 small opts 2008-08-08 00:09:21 +00:00
David Rose 0364ebd8b7 asynchronous animation binding 2008-08-07 17:34:24 +00:00
David Rose 1900e24dc1 don't use isinstance(AnimControl) 2008-08-02 00:46:48 +00:00
Josh Wilson a480d86b62 asserting notify statements to clean up the game logs 2008-07-09 01:37:58 +00:00
Josh Wilson 9191f85b85 return None for getDuration() if __animControlDict is empty 2008-04-10 01:03:58 +00:00