[Bf-blender-cvs] [436e84a] object_nodes: Fix for node function invalidation through the depsgraph.
Lukas Tönne
noreply at git.blender.org
Thu May 12 16:52:07 CEST 2016
Commit: 436e84a12c29ebb2b17430049b1b2af091d9f3f3
Author: Lukas Tönne
Date: Thu May 12 16:50:43 2016 +0200
Branches: object_nodes
https://developer.blender.org/rB436e84a12c29ebb2b17430049b1b2af091d9f3f3
Fix for node function invalidation through the depsgraph.
We have two separate caches for bvm and llvm backend, both of them
might contain a function for the node tree.
===================================================================
M source/blender/blenvm/intern/bvm_api.cc
===================================================================
diff --git a/source/blender/blenvm/intern/bvm_api.cc b/source/blender/blenvm/intern/bvm_api.cc
index 0c38db9..49d4bcf 100644
--- a/source/blender/blenvm/intern/bvm_api.cc
+++ b/source/blender/blenvm/intern/bvm_api.cc
@@ -338,6 +338,9 @@ void BVM_function_bvm_cache_remove(void *key)
{
bvm_lock.lock();
blenvm::function_bvm_cache_remove(key);
+#ifdef WITH_LLVM
+ blenvm::function_llvm_cache_remove(key);
+#endif
bvm_lock.unlock();
}
More information about the Bf-blender-cvs
mailing list