[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18058] branches/blender2.5/blender/source /blender/editors/space_node/node_header.c: 2.5 / Nodes

Nathan Letwory jesterking at letwory.net
Thu Dec 25 21:14:55 CET 2008


Revision: 18058
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18058
Author:   jesterking
Date:     2008-12-25 21:14:52 +0100 (Thu, 25 Dec 2008)

Log Message:
-----------
2.5 / Nodes
* fix warnings for msvc

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/space_node/node_header.c

Modified: branches/blender2.5/blender/source/blender/editors/space_node/node_header.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/space_node/node_header.c	2008-12-25 19:33:41 UTC (rev 18057)
+++ branches/blender2.5/blender/source/blender/editors/space_node/node_header.c	2008-12-25 20:14:52 UTC (rev 18058)
@@ -190,7 +190,7 @@
 				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 @@
 				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++;
 				}





More information about the Bf-blender-cvs mailing list