Merge branch 'release/1.10.x'
This commit is contained in:
commit
c99fe581d3
|
|
@ -52,9 +52,10 @@ cmake_install.cmake
|
||||||
install_manifest.txt
|
install_manifest.txt
|
||||||
CTestTestfile.cmake
|
CTestTestfile.cmake
|
||||||
|
|
||||||
# Windows
|
# Operating system
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
ehthumbs.db
|
ehthumbs.db
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
# macOS
|
# macOS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ This is a list of all the people who are contributing financially to Panda3D. I
|
||||||
* Gyedo Jeon
|
* Gyedo Jeon
|
||||||
* GameDev JONI
|
* GameDev JONI
|
||||||
* Max Rodriguez
|
* Max Rodriguez
|
||||||
|
* Jethro Schoppenhorst
|
||||||
|
|
||||||
## Backers
|
## Backers
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,11 @@
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
|
||||||
|
// Squelches an annoying warning.
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)applicationDidFinishLaunching:(NSNotification *)notification {
|
- (void)applicationDidFinishLaunching:(NSNotification *)notification {
|
||||||
// This only seems to work when called here.
|
// This only seems to work when called here.
|
||||||
[NSApp activateIgnoringOtherApps:YES];
|
[NSApp activateIgnoringOtherApps:YES];
|
||||||
|
|
|
||||||
|
|
@ -617,7 +617,19 @@ do_python_task() {
|
||||||
Py_DECREF(_generator);
|
Py_DECREF(_generator);
|
||||||
_generator = nullptr;
|
_generator = nullptr;
|
||||||
|
|
||||||
|
#if PY_VERSION_HEX >= 0x030D0000 // Python 3.13
|
||||||
|
// Python 3.13 does not support _PyGen_FetchStopIterationValue anymore.
|
||||||
|
if (PyErr_ExceptionMatches(PyExc_StopIteration)) {
|
||||||
|
PyObject *exc = PyErr_GetRaisedException();
|
||||||
|
result = ((PyStopIterationObject *)exc)->value;
|
||||||
|
if (result == nullptr) {
|
||||||
|
result = Py_None;
|
||||||
|
}
|
||||||
|
Py_INCREF(result);
|
||||||
|
Py_DECREF(exc);
|
||||||
|
#else
|
||||||
if (_PyGen_FetchStopIterationValue(&result) == 0) {
|
if (_PyGen_FetchStopIterationValue(&result) == 0) {
|
||||||
|
#endif
|
||||||
PyErr_Clear();
|
PyErr_Clear();
|
||||||
|
|
||||||
if (_must_cancel) {
|
if (_must_cancel) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue