Depsgraph: Cleanup, don't mic static function and anonymous namespace

This commit is contained in:
2022-07-19 12:51:24 +02:00
parent 2280a71f90
commit 99faebfca6

View File

@@ -354,9 +354,7 @@ void depsgraph_ensure_view_layer(Depsgraph *graph)
deg_update_copy_on_write_datablock(graph, scene_id_node);
}
} // namespace
static TaskPool *deg_evaluate_task_pool_create(DepsgraphEvalState *state)
TaskPool *deg_evaluate_task_pool_create(DepsgraphEvalState *state)
{
if (G.debug & G_DEBUG_DEPSGRAPH_NO_THREADS) {
return BLI_task_pool_create_no_threads(state);
@@ -365,6 +363,8 @@ static TaskPool *deg_evaluate_task_pool_create(DepsgraphEvalState *state)
return BLI_task_pool_create_suspended(state, TASK_PRIORITY_HIGH);
}
} // namespace
void deg_evaluate_on_refresh(Depsgraph *graph)
{
/* Nothing to update, early out. */