rdb
7b9f87412a
loader: support Python loader plug-ins
...
This allows defining custom loader types from Python code. Packages can use metadata entry points to register file types with the loader.
Example code: https://gist.github.com/rdb/cb3c2f4a98ce371c722e3f297b445153
2019-07-30 13:04:46 +02:00
rdb
7ab377f28e
dgui: fix option menu's cancelFrame not working in scrolled frame
...
Fixes #658
2019-07-29 13:07:26 +02:00
rdb
22d50297a2
actor: fix makeSubpart on models with pre-bound animations
...
Fixes #647
2019-07-18 20:18:22 +02:00
pythonengineer
46a3a72029
PythonUtil: weightedChoice should throw IndexError on empty list
...
Also includes a unit test.
Closes #682
2019-07-15 19:39:31 +02:00
rdb
2c9d16f62e
ParticlePanel: set reasonable max values for integer sliders
...
Fixes #672
2019-07-10 12:01:55 +02:00
Fireclaw
387b43adde
dgui: Fix popupMarker_pos related crash
...
Set initial popupMarker position to previous default by using None as default
2019-06-07 22:13:25 +02:00
rdb
7b77888e5a
FilterManager: allow specifying custom fbprops in renderQuadInto
...
Corollary to ea0210640c (see #599 )
2019-05-13 14:25:22 +02:00
rdb
e8fc76747a
showbase: rename attachInputDevice gui=True arg to watch=True
...
It describes more accurately what it does, which is attach the MouseWatcher to it. Though it was intended to help with GUI navigation, it can also be used for eg. polling button states.
2019-05-13 13:53:33 +02:00
rdb
b8b6f2f2dc
showbase: fix BufferViewer error when opening window right away
2019-05-09 19:18:25 +02:00
rdb
11808862f2
showbase: fix BufferViewer when main window is opened later
...
Fixes #648
2019-05-09 18:45:38 +02:00
rdb
db00baa230
deploy-ng: add link to index for thirdparty wheels
...
This is where we can host wheels for packages that haven't uploaded wheels for all platforms, such as PyYAML and esper.
[skip ci]
2019-05-03 17:57:27 +02:00
rdb
541a2a73f0
showbase: allow attaching default MouseWatcher in attachInputDevice
...
This makes it easier to control GUIs using a gamepad.
2019-05-03 16:24:13 +02:00
rdb
ea0210640c
FilterManager: allow specifying custom fbprops in renderSceneInto
...
Fixes #599
2019-05-03 16:24:13 +02:00
rdb
b08e38cf3d
deploy-ng: add nag screen warning users who are still on Python 2
...
See #602
2019-05-03 16:24:13 +02:00
rdb
6d9b217c2c
tkwidgets: fix exceptions hovering over rgbPanel menu items
2019-05-02 16:18:22 +02:00
rdb
a3b4486ef3
tkpanels: fix a few exceptions in AnimPanel
2019-05-02 16:18:09 +02:00
rdb
f32dc3cf2b
tkpanels: add missing AnimPanel imports
2019-05-02 16:17:17 +02:00
Maverick Liberty
4d33db2028
DirectOptionMenu: Fix popup menu reset of the popup marker's pos
...
Also defines popupMarker_pos and raises an assertion error if #showPopupMenu() is called when no items have been specified.
Fixes #636
Closes #637
2019-05-01 17:23:04 +02:00
nate97
d786709a49
sfxplayer: fixes bug when using the "node argument" in SoundInterval, also fixes Py3 TypeError exception
...
Closes #640
2019-05-01 17:17:06 +02:00
rdb
d89da168bb
PythonUtil: fix use of types.InstanceType in Python 3 in itype()
...
Really, though, don't use this function. It does not consider new-style classes, is not consistent in its return values and it seems to do nothing that repr(type(x)) doesn't do.
2019-04-09 12:53:13 +02:00
rdb
9f9665e090
direct: don't use types.InstanceType in Messenger.detailedRepr
...
Fixes #591
2019-04-09 12:42:06 +02:00
rdb
bf8a959d60
direct: remove multi-line strings with unrunnable test code
2019-04-02 22:45:25 +02:00
rdb
088b90e887
TexMemWatcher: fix compatibility issues with Python 3
...
Closes #578
2019-03-10 20:21:54 +01:00
rdb
58df4064da
ParticlePanel: fix Pmw error spam when hovering over File menu items
...
Fixes #552
2019-03-04 14:23:33 +01:00
Derzsi Dániel
c337e58f4d
direct: Resolve DirectScrolledFrame crash on destroy
...
Destroying DirectScrolledFrames currently crashes the game, because they are destroyed twice. This commit makes sure to destroy the scrolls only once.
Closes #574
2019-03-04 12:18:21 +01:00
rdb
b75982a610
interval: fix QuatInterval not normalizing the start quaternion
2019-02-14 19:18:14 +01:00
rdb
6640e5698d
EventManager: various microoptimizations to Python event handling
2019-02-12 14:30:04 +01:00
rdb
3024e6daeb
direct: fix various syntax warnings in Python 3.8
2019-02-11 23:35:56 +01: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
9d12a4c437
general: improvements to doxygen API reference:
...
* In C++ reference, only pick up classes defined in .h file
* Add a few excludes to C++ reference that aren't public API
* On class index pages, reduce number of columns
* Add @since for some methods/classes that are new in 1.10.0
* Fix/improve a few docstrings here and there
2019-01-23 22:24:02 +01:00
LD
1389ada384
setuptools: os.makedirs does not support 'exist_ok' parameter in Python2
...
Closes #540
2019-01-19 22:56:54 +01:00
rdb
649372d333
Loader: work around Python 3.7 await headache caused by PEP 479
...
Generators can no longer raise StopIteration, and we are supposed to use "return" instead. But, return with value inside generator is a syntax error in Python 2.
Fixes #513
2019-01-09 22:14:50 +01:00
rdb
7262f16ed8
tkwidgets: fix missing import from Valuator module
...
Fixes #519
2019-01-09 19:24:45 +01:00
rdb
2da791b9fb
Audio3DManager: fix regression with setSoundVelocityAuto()
2019-01-06 09:32:41 +01:00
rdb
6e730a2e95
Audio3DManager: accept tuple in setSoundVelocity/setListenerVelocity
2019-01-06 09:32:41 +01:00
Mitchell Stokes
863e25b6e0
setuptools bdist_apps: Better support relative paths for --build-base option
2019-01-04 18:55:04 -08:00
rdb
4d6b7e96c9
directscripts: change doxygen reference color scheme
2019-01-03 16:01:10 +01:00
rdb
984f83d94b
directbase: fix a stray pandac.PandaModules
2019-01-03 16:01:06 +01:00
rdb
3e22578529
New branding images for 1.10.0
2019-01-03 14:44:17 +01:00
Mitchell Stokes
3be7c63d42
setuptools build_apps: Add p3assimp to the check_plugins list
...
This gets rid of the runtime error message about missing Assimp.
2019-01-02 20:29:21 -08:00
rdb
01915a36db
Merge branch 'master' into deploy-ng
2018-12-26 23:41:50 +01:00
rdb
b7e7986198
deploy-ng: rewrite relative dependencies in macOS dylibs
2018-12-26 23:18:17 +01:00
rdb
3a2a29a1aa
deploy-ng: catch more egg2bam errors with Python 2.7
2018-12-26 22:54:19 +01:00
rdb
6b27dae24d
deploy-ng: add hidden imports for numpy on macOS
2018-12-26 22:54:01 +01:00
Mitchell Stokes
950ffd6eb8
deploy-ng: Add https://archive.panda3d.org/simple/opt as an optimized wheel index for release builds
...
Fixes #469
2018-12-24 12:05:39 -08:00
rdb
d28e99db82
directscripts: some fixes for C++ API reference
2018-12-23 16:24:38 +01:00
rdb
c0c202a423
directscripts: bring Python documentation generation up-to-date
...
Fixes #484
2018-12-23 15:50:00 +01:00
rdb
a0a2bf59bb
actor: remove commented-out code that is confusing doxygen
2018-12-23 15:42:43 +01:00
rdb
0668509791
stdpy: remove commented-out method that is confusing Doxygen
2018-12-23 15:42:31 +01:00