mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
set_failed on p3dcert failure
This commit is contained in:
parent
e2a393cb57
commit
56bbb780ee
@ -2979,6 +2979,10 @@ report_package_done(P3DPackage *package, bool success) {
|
|||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
mark_p3d_untrusted();
|
mark_p3d_untrusted();
|
||||||
|
} else if (!_p3d_trusted) {
|
||||||
|
// Oops, too bad. Couldn't get the p3dcert package, which means
|
||||||
|
// we can't approve the instance.
|
||||||
|
set_failed();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user