Commit Graph

234 Commits

Author SHA1 Message Date
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
Samir Naik fa0f621c93 fix crash in getCurrentAnim if no anims in animcontroldict 2007-12-21 00:34:16 +00:00
David Rose 66eb1a1298 add postFlatten() 2007-10-08 21:37:37 +00:00
David Rose 2ce8a65fc4 support common transforming of shared PartBundles 2007-10-04 16:53:14 +00:00
Zachary Pavlov b0100e3392 switched to new code, fixed typo 2007-08-23 00:00:05 +00:00
Zachary Pavlov 237000f7d8 new fix bounds function 2007-08-22 23:27:03 +00:00
Asad M. Zaman 82a863831c properly cleans up nametags 2007-08-16 19:40:19 +00:00
David Rose caa5efc434 default merge-lod-bundles 2007-07-06 21:55:18 +00:00
David Rose 7b1d939340 fix getActorInfo() 2007-07-06 21:52:42 +00:00
David Rose 111ae8a53a fix merge-lod-bundles 2007-07-05 20:52:20 +00:00
David Rose 516b5a8baf mergeLODBundles 2007-07-04 16:02:47 +00:00
David Rose a297fb9c6f better temp check 2007-07-03 17:13:29 +00:00
David Rose 8488c504d6 rework controlJoint() and freezeJoint() to reduce memory footprint 2007-07-03 17:09:56 +00:00
Zachary Pavlov cab1ce3e0b utility function for unique part bundles 2007-06-25 21:20:53 +00:00