Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-05-12 15:27:01 +0400
committerTon Roosendaal <ton@blender.org>2006-05-12 15:27:01 +0400
commitf0a5fe5c763e5903e2f77ec13411d574529d3e4f (patch)
treea1efa8c3db57dc6f3bd7b4a215b35c2f35a3b281 /source/blender/src/header_node.c
parent6cc46d087e5c21f4e1052f5f5ad65bbc960b2cfd (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.c5
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 */