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:
authorJoshua Leung <aligorith@gmail.com>2008-03-22 02:10:23 +0300
committerJoshua Leung <aligorith@gmail.com>2008-03-22 02:10:23 +0300
commit1930a925c870e746c4fdba161a8af2c097eace74 (patch)
tree3749f11ce0ac5e4fa36ecdf01c2b16fde0013d06 /source/blender/src/header_node.c
parent76f34bcdd9d46f10e12c3d71c6dde6f8e0e57ec0 (diff)
Removing some compiler warnings.
(Note to who-ever made all the changes referring to r.scemode: r.scemode is an int, not a short!)
Diffstat (limited to 'source/blender/src/header_node.c')
-rw-r--r--source/blender/src/header_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_node.c b/source/blender/src/header_node.c
index dd6ae890b01..ec6bbc9044c 100644
--- a/source/blender/src/header_node.c
+++ b/source/blender/src/header_node.c
@@ -708,7 +708,7 @@ 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, "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");
+ uiDefButBitI(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;
uiDefButBitS(block, TOG, SNODE_BACKDRAW, REDRAWNODE, "Backdrop", xco+5,0,80,19, &snode->flag, 0.0f, 0.0f, 0, 0, "Use active Viewer Node output as backdrop");
xco+= 80;