[Bf-blender-cvs] [9b54cd7] depsgraph_refactor: Depsgraph: Get rid of simulation run left overs

Sergey Sharybin noreply at git.blender.org
Fri Dec 12 10:16:53 CET 2014


Commit: 9b54cd73c33dd152b90c663a1ab1a309c3552e9d
Author: Sergey Sharybin
Date:   Fri Dec 12 13:50:06 2014 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB9b54cd73c33dd152b90c663a1ab1a309c3552e9d

Depsgraph: Get rid of simulation run left overs

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

M	source/blender/depsgraph/util/depsgraph_util_task.cpp

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

diff --git a/source/blender/depsgraph/util/depsgraph_util_task.cpp b/source/blender/depsgraph/util/depsgraph_util_task.cpp
index 883b9ef..39e6d88 100644
--- a/source/blender/depsgraph/util/depsgraph_util_task.cpp
+++ b/source/blender/depsgraph/util/depsgraph_util_task.cpp
@@ -30,7 +30,6 @@
 #include "PIL_time.h"
 
 extern "C" {
-#include "BLI_rand.h" /* XXX for eval simulation only, remove eventually */
 #include "BLI_task.h"
 }
 
@@ -41,21 +40,6 @@ extern "C" {
 
 /* Task */
 
-/* **** eval simulation **** */
-static RNG *deg_eval_sim_rng = NULL;
-
-static void deg_eval_sim_init()
-{
-	deg_eval_sim_rng = BLI_rng_new((unsigned int)(PIL_check_seconds_timer() * 0x7FFFFFFF));
-}
-
-static void deg_eval_sim_free()
-{
-	BLI_rng_free(deg_eval_sim_rng);
-	deg_eval_sim_rng = NULL;
-}
-/* ******** */
-
 void DEG_task_run_func(TaskPool *pool, void *taskdata, int UNUSED(threadid))
 {
 	DepsgraphEvalState *state = (DepsgraphEvalState *)BLI_task_pool_userdata(pool);




More information about the Bf-blender-cvs mailing list