Commit Graph

264 Commits

Author SHA1 Message Date
Timothy Paustian 2493c0689f direct: Use warnings module for more verbose deprecation prints
Closes #1067
Fixes #669
2021-03-09 18:34:53 +01:00
Daniel acbf265e54 direct: Fix actor initialization 2021-01-02 02:57:13 +02:00
rdb be9dde1eee direct: add .pylintrc, perform major code cleanup pass
Closes #989

Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
rdb 66ac3be604 Merge branch 'release/1.10.x' into master 2020-09-12 23:23:58 +02:00
rdb 54238e9730 direct: Add more links to manual pages in module docstrings
See panda3d/panda3d-docs#53

[skip ci]
2020-09-11 13:15:58 +02:00
rdb 26b86dfe5f Merge branch 'release/1.10.x' 2020-01-22 11:20:24 +01:00
rdb bd3dd63cbe actor: only remove control effects of given animations in unloadAnims
The previous behavior was for unloadAnims() to remove the control effects from all animations, even when only one animation was passed in, which is unintuitive behavior.

Fixes #853
2020-01-22 08:40:50 +01:00
rdb 05d5bac598 Merge branch 'release/1.10.x' into incoming 2020-01-21 15:34:25 +01:00
rdb 2960b67c7a actor: minor style fixes 2020-01-21 15:27:31 +01:00
rdb 3b361974dc actor: improve API documentation for Actor.cleanup()
Intended to address panda3d/panda3d-docs#40

[skip ci]
2020-01-19 11:23:35 +01:00
rdb 15d6e0c543 actor: support custom Python loader hooks
Fixes #750
2019-12-29 14:57:43 +01:00
rdb f149fb4ab0 direct: big formatting changes for the benefit of API reference
Part of the effort to move the API reference to Sphinx, see panda3d/panda3d-docs#21
2019-10-29 20:43:41 +01:00
rdb 22d50297a2 actor: fix makeSubpart on models with pre-bound animations
Fixes #647
2019-07-18 20:18:22 +02:00
rdb 3024e6daeb direct: fix various syntax warnings in Python 3.8 2019-02-11 23:35:56 +01:00
rdb a0a2bf59bb actor: remove commented-out code that is confusing doxygen 2018-12-23 15:42:43 +01:00
rdb c1679472cd actor: change parent of exposed joint to character
This prevents exposed joints from not being affected by a transform directly on the Character node.  See panda3d/panda3d#221 for more details.

Fixes #221
2018-01-05 14:39:39 +01:00
rdb b8cb517152 actor: comment out unused line of code
Fixes #170
2017-09-16 22:04:16 +02:00
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