From f46fcf7aab30fa2c905840e4ad0d4f1486994285 Mon Sep 17 00:00:00 2001 From: Willian Padovani Germano Date: Sun, 10 Feb 2008 03:40:24 +0000 Subject: == PyNodes == 1) Including the Add->Dynamic submenu in the Nodes window header. Previously pynodes could only be added via toolbox. 2) Disabling pynodes execution when using more than one thread for rendering. This prevents the crashes while a proper fix isn't implemented. --- source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/nodes') diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c b/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c index c198e73a3bf..9c15877e478 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c @@ -570,6 +570,9 @@ static void node_dynamic_exec_cb(void *data, bNode *node, bNodeStack **in, bNode if (!node->id) return; + if (G.scene->r.threads > 1) + return; + if (BTST2(node->custom1, NODE_DYNAMIC_NEW, NODE_DYNAMIC_REPARSE)) { node_dynamic_setup(node); return; -- cgit v1.2.3