Commit Graph

233 Commits

Author SHA1 Message Date
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 eefcae7b05 direct: Add `base.clock`, deprecate `globalClock` 2021-12-25 11:47:42 +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 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 d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02:00
rdb 3367fe266f tkpanels: properly test "None" return from askopenfilename 2020-01-03 18:19:39 +01:00
rdb 7ca66bfe6f tkpanels: work around tkinter bug cancelling file open dialog on macOS
Fixes #811
2020-01-02 01:06:03 +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 43a5719bac dgui: allow using various GUI items without instantiating ShowBase
This is done by eliminating dependency on the `hidden` built-in, which can now instead be imported from ShowBaseGlobal.
2019-08-14 13:26:27 +02:00
rdb 2c9d16f62e ParticlePanel: set reasonable max values for integer sliders
Fixes #672
2019-07-10 12:01:55 +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
rdb 58df4064da ParticlePanel: fix Pmw error spam when hovering over File menu items
Fixes #552
2019-03-04 14:23:33 +01:00
rdb 0fbfeb712f ParticlePanel: comment out unimplemented OrientedParticleFactory 2018-08-02 20:31:12 +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
fireclawthefox 3318e254b8 Make the scene graph explorer occupy the empty space
Expand the sge to fill up the otherwise unused space below it, which is
useful for larger scenes.
2017-01-26 14:11:41 +01:00
rdb f068a8613b Fix a few unnecessary uses of exec/eval 2016-06-22 13:50:58 +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
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 6cf2da9e56 Fix error when loading a particle effect in particle panel 2015-07-27 15:55: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
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
rdb 3403c8748e Fix use of outdated exec and repr syntax 2013-12-17 18:05:45 +00:00
rdb 106a7977ba fix particle panel error 2013-06-03 13:43:58 +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 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
Abhishek Nath bc9905db90 Add buttons to move back and forth an animation on a frame by frame resolution 2010-02-11 00:53:55 +00:00
Gyedo Jeon 07ce815f64 Fixed particle panel crash 2009-06-26 19:41:14 +00:00
Abhishek Nath 8fc045923f An unintended change snuck through in the previous revision. 2009-06-02 21:38:48 +00:00
Abhishek Nath 518176f53f AnimPanel Had no way of telling objects that it had been closed 2009-04-24 01:07:59 +00:00
Abhishek Nath 5038ddb148 Fixed a crash that was caused when anim panel was closed during an animation. Added a help feature to RTM. 2009-04-17 23:41:58 +00:00
Abhishek Nath fc71f2852f Added more animation controls to RTM 2009-04-14 23:53:40 +00:00
Gyedo Jeon f65ab84347 Made panda started 2009-03-10 18:20:54 +00:00
David Rose c69c8680e8 asList() etc. no longer needed 2008-11-12 20:37:20 +00:00
Zachary Pavlov 3ce749688f fix for kris 2008-11-04 20:58:08 +00:00
Zachary Pavlov 1712abd96c fix for spam in tkpanel 2008-10-18 01:48:01 +00:00
David Rose bf6c574747 make TaskManagerPanel compatible with new task manager 2008-10-11 14:17:53 +00:00
David Rose ddf501b588 loadModelOnce -> loadModel 2008-08-28 19:24:59 +00:00
YoungWook Yang 227ed2dc45 adding vertex memory explorer 2008-07-22 22:25:59 +00:00
Asad M. Zaman 558999a774 from prezmek: 2007-08-10 02:41:20 +00:00
Gyedo Jeon 3d2b2a333f fixed not to select 1st item in the Tasks list all the time 2007-07-05 22:47:28 +00:00
David Rose 08c3f5e2d5 direct -> base.direct 2006-10-16 19:10:13 +00:00
David Rose 59b8349fe9 new safe-import convention, from Josh Yelon 2006-09-06 17:55:30 +00:00
Josh Yelon dd5ba5cd01 Fixes for __all__ 2006-08-10 20:53:19 +00:00
Josh Wilson 58135b894a read isModulated() status from ptf on load 2006-06-14 18:33:26 +00:00