| 70 | } |
| 71 | |
| 72 | void ScriptStatus::Poll() |
| 73 | { |
| 74 | if (ScriptModule::sHasPythonEverSuccessfullyInitialized) |
| 75 | ScriptModule::InitializePythonIfNecessary(); |
| 76 | |
| 77 | if (!ScriptModule::sPythonInitialized) |
| 78 | return; |
| 79 | |
| 80 | if (gTime > mNextUpdateTime) |
| 81 | { |
| 82 | mStatus = py::str(py::globals()); |
| 83 | ofStringReplace(mStatus, ",", "\n"); |
| 84 | mNextUpdateTime = gTime + 100; |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | void ScriptStatus::DrawModule() |
| 89 | { |
nothing calls this directly
no test coverage detected