| 269 | } |
| 270 | |
| 271 | void ManagedEditor::BeforeRun() |
| 272 | { |
| 273 | // If during last lightmaps baking engine crashed we could try to restore the progress |
| 274 | if (ShadowsOfMordor::Builder::Instance()->RestoreState()) |
| 275 | GetClass()->GetMethod("Internal_StartLightingBake")->Invoke(GetOrCreateManagedInstance(), nullptr, nullptr); |
| 276 | } |
| 277 | |
| 278 | void ManagedEditor::Update() |
| 279 | { |
nothing calls this directly
no test coverage detected