diff options
author | Ton Roosendaal <ton@blender.org> | 2006-05-12 15:27:01 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-05-12 15:27:01 +0400 |
commit | f0a5fe5c763e5903e2f77ec13411d574529d3e4f (patch) | |
tree | a1efa8c3db57dc6f3bd7b4a215b35c2f35a3b281 /source/blender/src/header_node.c | |
parent | 6cc46d087e5c21f4e1052f5f5ad65bbc960b2cfd (diff) |
New Compositer option: "Free Unused". In the Node Editor header.
This will free all Node output buffers, while compositing, when not needed
anymore. Saves a whole lotta memory, and will enable to use many many more
nodes (or high resolution images).
Diffstat (limited to 'source/blender/src/header_node.c')
-rw-r--r-- | source/blender/src/header_node.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/header_node.c b/source/blender/src/header_node.c index 060bd155101..06a69d62230 100644 --- a/source/blender/src/header_node.c +++ b/source/blender/src/header_node.c @@ -170,7 +170,10 @@ void node_buttons(ScrArea *sa) } } else if(snode->treetype==NTREE_COMPOSIT) { - uiDefButS(block, TOG, B_NODE_USESCENE, "Use Nodes", xco+5,0,70,19, &G.scene->use_nodes, 0.0f, 0.0f, 0, 0, ""); + uiDefButS(block, TOG, B_NODE_USESCENE, "Use Nodes", xco+5,0,70,19, &G.scene->use_nodes, 0.0f, 0.0f, 0, 0, "Indicate this Scene will use Nodes and execute them while editing"); + xco+= 80; + uiDefButBitS(block, TOG, R_COMP_FREE, B_NOP, "Free Unused", xco+5,0,80,19, &G.scene->r.scemode, 0.0f, 0.0f, 0, 0, "Free Nodes that are not used while composite"); + xco+= 80; } /* always as last */ |