[Bf-blender-cvs] [78709ab] gooseberry: Disable additional depsgraph tagging through cache libraries.

Lukas Tönne noreply at git.blender.org
Mon Mar 23 13:03:44 CET 2015


Commit: 78709abd10f2a123096a16e1d8d69e0f008ab322
Author: Lukas Tönne
Date:   Mon Mar 16 18:48:23 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB78709abd10f2a123096a16e1d8d69e0f008ab322

Disable additional depsgraph tagging through cache libraries.

This code is outdated due to changes in reading code and obscures some
genuine depsgraph behavior.

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

M	source/blender/blenkernel/intern/cache_library.c

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

diff --git a/source/blender/blenkernel/intern/cache_library.c b/source/blender/blenkernel/intern/cache_library.c
index 3ae8f8c..6c535e7 100644
--- a/source/blender/blenkernel/intern/cache_library.c
+++ b/source/blender/blenkernel/intern/cache_library.c
@@ -1252,6 +1252,7 @@ bool BKE_cache_read_dupligroup(Main *bmain, Scene *scene, float frame, eCacheLib
 
 void BKE_cache_library_dag_recalc_tag(EvaluationContext *eval_ctx, Main *bmain)
 {
+#if 0
 	eCacheLibrary_EvalMode eval_mode = (eval_ctx->mode == DAG_EVAL_RENDER) ? CACHE_LIBRARY_EVAL_RENDER : CACHE_LIBRARY_EVAL_VIEWPORT;
 	CacheLibrary *cachelib;
 	
@@ -1279,4 +1280,5 @@ void BKE_cache_library_dag_recalc_tag(EvaluationContext *eval_ctx, Main *bmain)
 			}
 		}
 	}
+#endif
 }




More information about the Bf-blender-cvs mailing list