Commit Graph

388 Commits

Author SHA1 Message Date
Tohka facb1cca31 Fix several Sequence crashes (#99)
tuple and list shouldn't be used as parameter names. With the new Python 2.7.11 these break Sequences altogether.
2016-04-24 11:37:34 +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
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 0d03207d1b Dramatically reduce size of frozen/compiled code by pruning/masking unnecessary imports/code 2016-02-12 22:20:27 +01:00
rdb 03c8d4c009 Fix use of many builtins 2016-02-02 13:41:20 +01:00
rdb 84e15316cc remove conflicting loop property on Interval 2016-01-03 17:40:13 +01:00
rdb dafe48a6bc Begin to add snake_case/property interfaces to important direct classes 2015-12-26 17:00:51 +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 e8e155f218 AnimControlCollection methods should take floating-point frame numbers to match AnimInterface 2015-07-27 12:56:13 +02:00
rdb d7b5fe37da Merge remote-tracking branch 'origin/release/1.9.x' 2015-07-27 12:49:54 +02:00
rdb 5413a267ba Fix error with AnimControlInterval 2015-07-27 12:48:45 +02: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
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb 79430f6bc5 Fixes for Python 3 2014-02-27 11:30:56 +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
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
Chris Brunner ee3adf5723 Fix a bug where privReverseInstant would reset to the last state of an interval and not the start state 2012-01-27 03:02:50 +00:00
David Rose fb220d8f93 missing file 2011-12-19 18:43:27 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
Zhao Huang 33e1ead6c5 Don't import ParticleInterval if the ParticleSystem doesn't exist (ie., not compiled in) 2011-12-15 04:45:40 +00:00
David Rose f9658303e7 ah, *this* is the proper fix to recent interrogate bug. 2011-12-09 05:56:27 +00:00
David Rose 262a3558c7 fix interrogate error? 2011-12-09 02:35:34 +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 a1e13af431 wip: improve scrubbing behavior through SoundInterval 2011-10-31 21:39:04 +00:00
David Rose 05bd74a80e Parabolaf -> LParabola 2011-10-30 20:28:55 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose d6a8731988 fix for nameless functors 2011-06-22 21:32:23 +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
Redmond Urbino 1c33e886ea kill garbage cycle by calling cleanup instead of disable 2010-06-15 21:40:42 +00:00
David Rose be3a0f3520 fix setPlayRate() on running MetaInterval 2010-05-19 12:28:17 +00:00
David Rose 91e6231a3c apply per-attrib override to TexMatrixAttrib also 2010-05-06 01:12:34 +00:00
rdb 7a33157f92 Revert some of my callable changes, I found out that old-style classes don't provide __call__ 2010-03-20 10:30:06 +00:00
rdb ac1223d0da Ditch stuff like has_key and backticks 2010-03-19 10:32:09 +00:00
rdb 6eee4b9ace Replace remaining instances of Disney license with CMU license 2009-10-20 08:16:12 +00:00
Zachary Pavlov ae0ced7c2c prevented anim control crash 2009-10-13 18:12:04 +00:00
Zachary Pavlov b292e06ff6 removed errant print 2009-07-15 00:25:09 +00:00
Zachary Pavlov 3e2f301fb7 new interval! 2009-07-14 23:37:30 +00:00
David Rose 1ce2ce2413 integrate changes from Schell Games 2009-06-01 21:52:15 +00:00
David Rose ff81be2aee overrides 2009-03-21 16:52:22 +00:00
Josh Wilson cf80c1f689 printing name of function in Func intervals 2008-10-24 22:53:05 +00:00
David Rose 39f5de7827 minor fixes 2008-08-08 00:10:49 +00:00
Darren Ranalli 95abe649e8 moved DelayDelete to /home/WDIG/player/toontown 2008-08-07 21:05:12 +00:00
Josh Wilson 9fcac8b39c replacing particleEffect.cleanup() with particleEffect.disable() in ParticleInterval.cleanup(). This should allow us to reuse pooled effects in subsequent different particle intervals. Also, printing a more helpful error message when trying to use an already cleaned up ParticleEffect 2008-07-10 20:09:00 +00:00
Redmond Urbino d789e292ae take out annoying prints (use self.notify if needed!) 2008-06-13 19:56:16 +00:00
Przemyslaw Iwanowski 3b2fa8da18 sound ival cutoff fix 2008-06-11 06:29:39 +00:00