mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
fix reappearing start button
This commit is contained in:
parent
f1871c5080
commit
6b3ba07bd3
@ -1916,6 +1916,11 @@ mark_download_complete() {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
void P3DInstance::
|
void P3DInstance::
|
||||||
ready_to_start() {
|
ready_to_start() {
|
||||||
|
if (is_started()) {
|
||||||
|
// Already started.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
_panda_script_object->set_string_property("status", "ready");
|
_panda_script_object->set_string_property("status", "ready");
|
||||||
send_notify("onready");
|
send_notify("onready");
|
||||||
if (_auto_start) {
|
if (_auto_start) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user