Function WorkItemProcessor.ProcessWorkItemsForUpdate

ProcessWorkItemsForUpdate (bool force)

Process graph updating work items.

Public
bool ProcessWorkItemsForUpdate (

bool

force

)

Process graph updating work items.

Process all queued work items, e.g graph updates and the likes.

Return

  • false if there are still items to be processed.

  • true if the last work items was processed and pathfinding threads are ready to be resumed.

This method also calls GraphModifier.TriggerEvent(PostUpdate) if any graphs were dirtied. It also calls EnsureValidFloodFill after the work items are done