mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
expose task.wakeTime
This commit is contained in:
parent
621b831913
commit
76687fca8f
@ -299,6 +299,8 @@ __getattr__(const string &attr_name) const {
|
||||
return PyFloat_FromDouble(get_elapsed_time());
|
||||
} else if (attr_name == "name") {
|
||||
return PyString_FromString(get_name().c_str());
|
||||
} else if (attr_name == "wakeTime") {
|
||||
return PyFloat_FromDouble(get_wake_time());
|
||||
} else if (attr_name == "id") {
|
||||
return PyInt_FromLong(_task_id);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user