rdb
202a871a7e
showbase: remove wantUberdog from builtin scope
...
Applications that need it can trivially copy it to their own modules.
Closes #895
2020-04-13 12:25:16 +02:00
rdb
30d9f88f8e
Merge branch 'release/1.10.x'
2020-04-01 18:53:00 +02:00
rdb
73ea170f2b
showbase: improve docstrings of ShowBase and ShowBaseGlobal
2020-04-01 18:32:22 +02:00
rdb
9565d99fab
Merge branch 'release/1.10.x'
2019-12-08 15:18:51 +01:00
rdb
55f624e073
windisplay: add a variable to disable Panda's message pump
...
This is particularly important for Tcl/Tk, which assumes it is in charge of the Windows event loop.
Fixes #586
2019-12-08 15:04:06 +01:00
rdb
847ebf667f
Merge branch 'release/1.10.x'
2019-11-06 10:49:05 +01:00
rdb
69e8b4ed3c
showbase: make render2d available to GUI items without ShowBase
2019-11-03 12:09:36 +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
Mitchell Stokes
660249a5cc
Remove p3d/AppRunner/plugin system
...
Co-authored-by: rdb <git@rdb.name>
Closes #734
2019-09-10 16:49:57 +02:00
rdb
a40228202b
Merge branch 'release/1.10.x'
2019-08-18 22:34:23 +02: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
2e9395b766
Merge branch 'release/1.10.x'
2019-05-14 14:41:43 +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
3f312eccd9
Merge branch 'release/1.10.x'
2019-05-12 21:03:14 +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
a92dce29cc
Merge branch 'release/1.10.x'
2019-05-03 21:03:49 +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
Kyle Smith
8cf28e8d2c
wx: Fixed deprecation warnings/errors
...
- Warnings/Errors associated with LevelEditor.
2019-01-06 18:54:08 -07:00
rdb
70bfe21a63
Merge branch 'master' into input-overhaul
2018-11-06 22:10:39 +01:00
rdb
5ac3cf3fc6
Eliminate C++ DConfig; replace it with a Python compatibility shim
2018-11-02 23:27:07 +01:00
rdb
76365f3ed1
showbase: make input device binding explicit, not automatic
2018-09-16 20:22:40 +02:00
rdb
ba2de46beb
Merge branch 'master' into input-overhaul
2018-06-08 15:23:47 +02:00
rdb
cf58de4d04
showbase: make base.movie() awaitable (by returning a future)
2018-05-05 23:02:11 +02:00
rdb
b62435a373
general: remove all uses of deprecated upcastTo*() methods
...
These methods have not been needed for a very long time, so we should not encourage their use.
2018-02-27 15:02:49 +01:00
rdb
aa90b7b0c0
showbase: disable track-gui-items by default, remove want-e3-hacks
2018-02-23 22:26:27 +01:00
rdb
e6c2d3b609
showbase: allow DirectGui elements to be created before ShowBase
...
This is done by precreating aspect2d inside ShowBaseGlobal.
2018-02-23 22:15:34 +01:00
rdb
0cf605ce7d
showbase: move run() and __dev__ to ShowBaseGlobal
...
Also remove ShowBaseGlobal notify category, it doesn't really add anything
2018-02-23 21:26:49 +01:00
rdb
27bd7ae4ac
Merge branch 'master' into input-overhaul
2018-01-07 12:08:59 +01:00
rdb
bdb53b8cb5
showbase: fixes for aspect-ratio adjustment of pixel2d(p)
2018-01-05 19:49:14 +01:00
rdb
27fb1a4a9e
showbase: fix aspect ratio calculation
...
backs out part of 7a46b2ca60aacc1b8f1c87a7a101546bd6214120, from PR #204
2018-01-05 15:00:21 +01:00
rdb
962e6e31e4
Merge branch 'master' into input-overhaul
2018-01-03 14:46:13 +01:00
rdb
4f50f6abd0
showbase: use ShowBaseGlobal module as alternative to builtin scope
...
Allows accessing `base` object and several other builtins from the ShowBaseGlobal module.
It doesn't bother with builtins that are available as members of the base object such as `render` and `loader`.
Fixes #182
2018-01-03 14:25:27 +01:00
rdb
8e6cf2a60b
Merge branch 'master' into input-overhaul
2017-12-17 13:04:15 +01:00
deflected
bdd53d60fc
ShowBase: Fixed crash when want-render2dp is False
...
- Fixed crash in ShowBase when want-render2dp setting
is set to 0(False).
Signed-off-by: deflected <deflected@users.noreply.github.com>
2017-12-04 22:46:30 +01:00
deflected
7a46b2ca60
ShowBase: Minor fixes over aspect ratio and size calculations
...
- Do not take into accound SBS if it is not enabled
- Always return value for getSize()
- Properly handle SBS for window-events
- Redo positioning of aspect2d(p) markers exactly as
they are created when adjusting aspect ratio
Signed-off-by: deflected <deflected@users.noreply.github.com>
2017-12-04 22:46:22 +01:00
rdb
d3008c56e0
Merge branch 'input-overhaul' of github.com:grimfang/panda3d into input-overhaul
2016-11-22 12:15:37 +01:00
rdb
d0e9f136c0
Merge branch 'master' into input-overhaul
2016-11-22 12:15:21 +01:00
rdb
f1f4951fb5
Merge remote-tracking branch 'origin/release/1.9.x'
2016-10-13 00:25:57 +02:00
rdb
f363088cb2
Fix exception when creating intervals before ShowBase is started
2016-09-30 00:21:12 +02:00
fireclawthefox
f2a3a45100
added assert to debugging output
2016-08-10 16:46:39 +02:00
fireclawthefox
29896a39a4
cleanup and fixes
...
fixed event prefix ID handling
fixed removing of nodes of disconnected devices
removed debug prints
added more comments
2016-07-22 21:33:41 +02:00
fireclawthefox
2e8338c681
Add the new inputDeviceNode to the data graph
...
create node and add to data graph for any connected device
add function to add and remove devices and call them on dis-/connection
add poll call for all devices in the __dataLoop task
2016-07-21 23:12:07 +02:00
rdb
b98d3c06ee
Merge branch 'master' into input-overhaul
2016-06-24 10:51:41 +02:00
rdb
4283a63a7d
Merge branch 'release/1.9.x'
2016-06-11 01:29:14 +02:00
rdb
12873c0d7e
Fix wxPython and tkinter issues on Mac OS X
2016-06-10 02:02:36 +02:00
rdb
a3a42874f3
Merge remote-tracking branch 'origin/master' into input-overhaul
2016-03-29 12:28:53 +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