[Bf-blender-cvs] [99faebfca6d] master: Depsgraph: Cleanup, don't mic static function and anonymous namespace

Sergey Sharybin noreply at git.blender.org
Tue Jul 19 12:51:56 CEST 2022


Commit: 99faebfca6d4f7953d970dcdbdf901f78a8cf4c3
Author: Sergey Sharybin
Date:   Tue Jul 19 12:51:24 2022 +0200
Branches: master
https://developer.blender.org/rB99faebfca6d4f7953d970dcdbdf901f78a8cf4c3

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

===================================================================

M	source/blender/depsgraph/intern/eval/deg_eval.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/eval/deg_eval.cc b/source/blender/depsgraph/intern/eval/deg_eval.cc
index 9da9586c1cf..9ac1f5275ac 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval.cc
@@ -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. */



More information about the Bf-blender-cvs mailing list