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:
authorNathan Letwory <nathan@letworyinteractive.com>2008-12-25 23:14:52 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-12-25 23:14:52 +0300
commitb917e1ac66fd7fa88dbcd22d0b6ea792e71a009e (patch)
treeefa2d9ca5cb89b6770d736e15edb70a9b8d11b89 /source/blender/editors/space_node/node_header.c
parentd438a86f063aa2040719fdb4a50c312f4d3f8daa (diff)
2.5 / Nodes
* fix warnings for msvc
Diffstat (limited to 'source/blender/editors/space_node/node_header.c')
-rw-r--r--source/blender/editors/space_node/node_header.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/node_header.c b/source/blender/editors/space_node/node_header.c
index 91cd9502035..0e900c16ca7 100644
--- a/source/blender/editors/space_node/node_header.c
+++ b/source/blender/editors/space_node/node_header.c
@@ -190,7 +190,7 @@ static void node_make_addmenu(bContext *C, int nodeclass, uiBlock *block)
if(ngroup->type==ntree->type) {
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, (ngroup->id.name+2), 0,
- yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, NODE_GROUP_MENU+tot, "");
+ yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1.0f, (float)(NODE_GROUP_MENU+tot), "");
a++;
}
}
@@ -202,11 +202,11 @@ static void node_make_addmenu(bContext *C, int nodeclass, uiBlock *block)
if( type->nclass == nodeclass ) {
if(type->type == NODE_DYNAMIC) {
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, type->name, 0,
- yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, NODE_DYNAMIC_MENU+script, "");
+ yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1.0f, (float)(NODE_DYNAMIC_MENU+script), "");
script++;
} else {
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, type->name, 0,
- yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, type->type, "");
+ yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1.0f, (float)(type->type), "");
}
a++;
}