rdb
e627c7c63d
particles: Fix deprecation warning
2023-10-13 23:30:21 +02:00
WMOkiishi
f7f3179a89
Move test code from across `direct` to proper test modules
...
Closes #1480
2023-08-02 08:37:51 +02:00
rdb
10dd0f79bc
particles: Fix regression loading .ptf files
...
Regression introduced in #1454
2023-02-22 20:26:51 +01:00
rdb
37b5c9ad9e
direct: More code style changes
2023-02-22 11:52:19 +01:00
rdb
8b1126ba3e
direct: General cleanup of Python code
2023-02-20 20:52:14 +01:00
rdb
5d63c7e898
Merge branch 'release/1.10.x'
2023-02-20 19:27:58 +01:00
rdb
127798437f
particles: Fix missing import in ParticleFloorTest
2023-02-20 18:04:22 +01:00
WMOkiishi
c7c70bc32a
direct: Cut down on usage of `import *` ( #1454 )
...
* Remove most `import *`s in `direct`
* Address feedback
2023-02-12 13:16:52 +00:00
rdb
3fe1780f16
direct: Fix use of various deprecated APIs
2021-03-09 19:21:26 +01:00
Timothy Paustian
2493c0689f
direct: Use warnings module for more verbose deprecation prints
...
Closes #1067
Fixes #669
2021-03-09 18:34:53 +01: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
cf60284ca9
Merge branch 'release/1.10.x'
2020-12-31 00:05:10 +01:00
rdb
a6580f5dd3
physics: Fix GlobalForceGroup
2020-12-30 23:57:43 +01:00
rdb
f1a171bfd8
particles: Fix writing representation of AngularVectorForce
2020-12-30 23:57:27 +01:00
rdb
8178fb21f3
direct: don't rely on vfs being present in builtins
2020-08-11 09:40:34 +02:00
rdb
d799a09002
cleanup: Remove support for EOL versions of Python
...
Fixes #905
2020-04-26 20:07:56 +02:00
Thaumaturge
50d27166d8
particles: expose birth_litter() to support burst emission
...
Closes #524
Closes #340
2020-02-23 15:17:57 +01:00
rdb
d088263f6f
Merge branch 'release/1.10.x'
2019-11-11 03:28:39 +01:00
Thaumaturge
c0daa75353
particles: add parameter to delay particle birth in soft_start()
...
Also adds a get_tics_since_birth() getter.
This feature can be used to synchronize different particle effects.
Closes #769
2019-11-10 20:33:45 +01:00
rdb
f47fd8875c
particles: add snake-case aliases to Python particle classes
2019-11-10 20:26:45 +01:00
rdb
a72be90f17
Merge branch 'release/1.10.x'
2019-10-29 23:13:22 +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
504257f4d2
ParticleEffect: loadConfig should respect model-path
...
Fixes #687
2019-09-06 14:11:13 +02:00
tc
33d11dba27
ParticlePanel: fixed an issue that prevented saving with Python 3
...
Since in Python 3 `str == bytes` no longer holds true, I modified
the source to write a text file, which it actually is, instead of a
binary file.
Closes #553
Fixes #543
2019-02-08 15:46:52 +01:00
John Cote
2627c433d6
particles: Import SpriteAnim in Particles.py
...
Fixes #544
Closes #545
2019-01-31 00:06:34 +01: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
58837c0f4a
Fix particle sample and tkinter in Python 3
2016-03-22 11:31:51 +01:00
mfwass
f8837999ed
Cleanup trailing whitespace
2015-12-13 10:08:41 -05:00
rdb
32367fcbdc
Fix various import issues in the direct tree
2015-12-06 22:36:05 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01:00
rdb
cbb3969017
Merge remote-tracking branch 'origin/release/1.9.x'
2015-08-23 17:03:55 +02:00
rdb
eecded05bd
Fix broken imports in ParticleTest
2015-08-20 21:59:12 +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
frainfreeze
07e73672db
updated direct/particle to import from panda3d.physics
2015-01-12 21:41:36 +01:00
rdb
51dffd0f5a
Commit patch by cfsworks to clean up use of exec() and eval()
2014-04-16 13:09:12 +00:00
rdb
3403c8748e
Fix use of outdated exec and repr syntax
2013-12-17 18:05:45 +00:00
rdb
3aaa57181d
suggested fix by forum user JörnS
2013-05-07 11:12:27 +00:00
rdb
ac1223d0da
Ditch stuff like has_key and backticks
2010-03-19 10:32:09 +00:00
Przemyslaw Iwanowski
3e91321b54
crash fix
2009-12-16 22:54:49 +00:00
David Rose
4456d45f62
defer importing ParticleSystemManager etc. until base.enableParticles() is called
2009-05-01 20:10:18 +00:00
David Rose
c69c8680e8
asList() etc. no longer needed
2008-11-12 20:37:20 +00:00
Josh Wilson
1250458e18
overriding NodePath.getName()
2008-10-13 20:37:29 +00:00
David Rose
ddf501b588
loadModelOnce -> loadModel
2008-08-28 19:24:59 +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
Asad M. Zaman
558999a774
from prezmek:
2007-08-10 02:41:20 +00:00
Darren Ranalli
cd313b4cbe
don't hide error during particle file load
2007-05-08 19:32:11 +00:00
Greg Wiatroski
b39ca2fec5
Protect against crash on disable
2007-04-03 21:47:12 +00:00
Josh Wilson
7c37ba0572
added ArcEmitter
2006-12-06 03:07:20 +00:00
Josh Wilson
46f04f18b2
default textures from DMODELS now instead of TTMODELS
2006-07-26 21:57:23 +00:00