Commit Graph

40 Commits

Author SHA1 Message Date
rdb 37b5c9ad9e direct: More code style changes 2023-02-22 11:52:19 +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 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 22e88a5b6a direct: a few improvements to API documentation 2019-11-02 19:41:11 +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 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 03c8d4c009 Fix use of many builtins 2016-02-02 13:41:20 +01:00
rdb 3c2f820ad8 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/DeploymentTools.py
2015-11-24 13:39:36 +01:00
rdb 2745f11b65 Add back ability to change default relief and frameSize of DirectDialog 2015-11-24 13:33:09 +01: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
alan eborn 2e555db30e DirectDialog--removal of model-loading by default and a bug-fix
Signed-off-by: rdb <git@rdb.name>
2015-02-28 15:21:24 +01:00
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
rdb ac1223d0da Ditch stuff like has_key and backticks 2010-03-19 10:32:09 +00:00
rdb 1fe0e144c9 Work around a weird crash 2009-05-28 08:27:34 +00:00
David Rose e62fb2a029 pass extraArgs to DirectDialog buttons 2007-07-11 18:30:30 +00:00
Redmond Urbino 4fc2782a32 cleanup all leaking events that I get when I do a simple login then logout 2007-01-26 04:08:59 +00:00
David Rose 2e5055303d attempt to straighten out fade screen sorting issues 2006-09-18 18:48:32 +00:00
David Rose 1f3cc3b671 more fixes for import 2006-08-09 22:32:50 +00:00
Josh Yelon 1b058da878 Added __all__ declarations 2006-08-09 20:49:19 +00:00
Dave Schuyler 64a75159c6 formatting 2006-03-17 23:32:40 +00:00
Dave Schuyler ea53570eef formatting 2006-01-27 01:00:28 +00:00
Dave Schuyler d86de833e3 formatting 2005-01-27 00:36:19 +00:00
Jason Persampieri 2c5d146913 BUGFIX: assigning unique default names to Dialogs works now 2004-11-15 21:52:25 +00:00
Mike Goslin 966e57d3be Removed avatar2d as default argument to avoid import order problem - avatar2d now gets filled in after ShowBase is constructed. 2004-05-05 00:12:48 +00:00
Dave Schuyler 66e56f800a fix for jumping on lift 2003-12-16 02:27:11 +00:00
Joe Shochet cd87ff4b53 adjustments for castillian 2003-04-21 16:29:59 +00:00
Darren Ranalli bb45e0fbb9 added sidePad 2002-09-27 19:30:27 +00:00
Darren Ranalli b62c619028 spelling fix 2002-08-28 19:09:04 +00:00
cxgeorge 3ce3cf9ff3 *** empty log message *** 2002-06-06 22:10:49 +00:00
David Rose 7346c65f35 TMALIGN -> TextNode.A* 2002-03-13 21:52:25 +00:00
Mark Mine 6cfa7cc2b5 *** empty log message *** 2001-10-26 23:39:45 +00:00
David Rose 355b3144c8 push panel slightly into the screen to work around DX bug 2001-10-17 14:28:14 +00:00
Mark Mine 4bb6aaa353 *** empty log message *** 2001-10-15 23:53:02 +00:00
Mark Mine 862d218c1d *** empty log message *** 2001-10-15 23:51:57 +00:00
Mark Mine fead331673 *** empty log message *** 2001-10-12 00:23:20 +00:00
Mark Mine 23c106d86c *** empty log message *** 2001-10-11 23:16:09 +00:00
Mark Mine dba1abc3a4 *** empty log message *** 2001-10-11 17:46:21 +00:00
Mark Mine 340a3c4bd3 *** empty log message *** 2001-10-09 03:21:33 +00:00