Commit Graph

35 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 5de31c6293 Merge branch 'release/1.10.x' 2021-12-04 21:57:35 +01:00
rdb 24755bc8eb gui: Allow OnscreenImage to be used before ShowBase is created
Use TexturePool directly instead of a loader being present in the builtins

Fixes #1209
2021-12-04 20:40:29 +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 a5ae292c3e Merge branch 'release/1.10.x' 2020-12-18 12:56:31 +01:00
rdb 8883bf9bdd dgui: Fix ability to create OnscreenGeom/Image/Text without ShowBase 2020-12-15 11:45:52 +01:00
rdb d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02: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
deflected 9300bca1a4 direct.gui: Correct strings checks
- str in Python3 is always unicode, but not in Python2.
        Avoid crashes when unicode is used

Signed-off-by: deflected <deflected@github>
2016-04-01 21:18:52 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +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 51dffd0f5a Commit patch by cfsworks to clean up use of exec() and eval() 2014-04-16 13:09:12 +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 38467b6eed Fix confusing typo 2008-12-18 18:17:28 +00:00
David Rose ddf501b588 loadModelOnce -> loadModel 2008-08-28 19:24:59 +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 9e51cf2f8a changed import of panda modules 2006-02-14 22:20:44 +00:00
Dave Schuyler c76f0eea10 PandaObject to DirectObject 2005-12-20 04:26:50 +00:00
Dave Schuyler c176b0e336 formatting 2005-11-04 22:16:25 +00:00
David Rose 2b6af7a68f preserve transform of input geom/image 2005-09-26 23:29:43 +00:00
David Rose a4d06505c2 generalize image parameter 2005-08-31 13:51:39 +00:00
Mark Mine d98a24fb83 Added ability to specify OnscreenImage texture using a string (representing an image filename) after an onscreen image has been created 2004-08-25 23:31:12 +00:00
David Rose b1db93fb87 explicit import paths 2004-06-01 19:31:48 +00:00
Mark Mine a666205e42 Fixed VBase3 case where setPos was called for pos hpr and scale 2004-01-27 23:18:41 +00:00
David Rose fcd3df851a preparation for new window code 2003-01-09 20:31:14 +00:00
Mark Mine 2f57e39d93 Fixed button press state ordering problem and CardMaker creation bug 2002-06-11 17:03:51 +00:00
Jesse Schell a01e4d38fe *** empty log message *** 2001-09-13 20:49:37 +00:00
David Rose 43a83a5e96 tabs to spaces 2001-08-21 03:45:07 +00:00
Jesse Schell 02fd0cd330 *** empty log message *** 2001-07-25 15:36:13 +00:00
Darren Ranalli 3161aa9d2b *** empty log message *** 2001-07-18 02:59:23 +00:00
Mark Mine a3b8ed2062 *** empty log message *** 2001-07-11 21:50:23 +00:00
Mark Mine 45615432f2 *** empty log message *** 2001-07-10 03:15:30 +00:00
Mark Mine 28ab5a02f6 *** empty log message *** 2001-07-10 00:15:15 +00:00
Mark Mine 36f18680dd *** empty log message *** 2001-07-09 05:33:07 +00:00