[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36538] branches/particles-2010/source/ blender/nodes/intern: Added node_ prefix to shared group and loop node functions.

Lukas Toenne lukas.toenne at googlemail.com
Sat May 7 15:55:32 CEST 2011


Revision: 36538
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36538
Author:   lukastoenne
Date:     2011-05-07 13:55:32 +0000 (Sat, 07 May 2011)
Log Message:
-----------
Added node_ prefix to shared group and loop node functions.

Modified Paths:
--------------
    branches/particles-2010/source/blender/nodes/intern/CMP_nodes/CMP_common.c
    branches/particles-2010/source/blender/nodes/intern/SHD_nodes/SHD_common.c
    branches/particles-2010/source/blender/nodes/intern/TEX_nodes/TEX_common.c
    branches/particles-2010/source/blender/nodes/intern/node_common.c
    branches/particles-2010/source/blender/nodes/intern/node_common.h

Modified: branches/particles-2010/source/blender/nodes/intern/CMP_nodes/CMP_common.c
===================================================================
--- branches/particles-2010/source/blender/nodes/intern/CMP_nodes/CMP_common.c	2011-05-07 13:36:30 UTC (rev 36537)
+++ branches/particles-2010/source/blender/nodes/intern/CMP_nodes/CMP_common.c	2011-05-07 13:55:32 UTC (rev 36538)
@@ -214,12 +214,12 @@
 	node_type_base(&ntype, NODE_GROUP, "Group", NODE_CLASS_GROUP, NODE_OPTIONS|NODE_CONST_OUTPUT);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, group_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, group_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_group_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_group_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, group_execute);
 	
 	nodeRegisterType(lb, &ntype);
@@ -297,13 +297,13 @@
 	node_type_base(&ntype, NODE_FORLOOP, "For", NODE_CLASS_GROUP, NODE_OPTIONS);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, forloop_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, forloop_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_tree(&ntype, forloop_init_tree, loop_update_tree);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_forloop_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_forloop_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_tree(&ntype, node_forloop_init_tree, node_loop_update_tree);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, forloop_execute);
 	
 	nodeRegisterType(lb, &ntype);
@@ -356,13 +356,13 @@
 	node_type_base(&ntype, NODE_WHILELOOP, "While", NODE_CLASS_GROUP, NODE_OPTIONS);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, whileloop_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, whileloop_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_tree(&ntype, whileloop_init_tree, loop_update_tree);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_whileloop_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_whileloop_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_tree(&ntype, node_whileloop_init_tree, node_loop_update_tree);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, whileloop_execute);
 	
 	nodeRegisterType(lb, &ntype);

Modified: branches/particles-2010/source/blender/nodes/intern/SHD_nodes/SHD_common.c
===================================================================
--- branches/particles-2010/source/blender/nodes/intern/SHD_nodes/SHD_common.c	2011-05-07 13:36:30 UTC (rev 36537)
+++ branches/particles-2010/source/blender/nodes/intern/SHD_nodes/SHD_common.c	2011-05-07 13:55:32 UTC (rev 36538)
@@ -149,12 +149,12 @@
 	node_type_base(&ntype, NODE_GROUP, "Group", NODE_CLASS_GROUP, NODE_OPTIONS|NODE_CONST_OUTPUT);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, group_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, group_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_group_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_group_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, group_execute);
 	
 	nodeRegisterType(lb, &ntype);
@@ -209,13 +209,13 @@
 	node_type_base(&ntype, NODE_FORLOOP, "For", NODE_CLASS_GROUP, NODE_OPTIONS);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, forloop_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, forloop_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_tree(&ntype, forloop_init_tree, loop_update_tree);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_forloop_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_forloop_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_tree(&ntype, node_forloop_init_tree, node_loop_update_tree);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, forloop_execute);
 	
 	nodeRegisterType(lb, &ntype);
@@ -270,13 +270,13 @@
 	node_type_base(&ntype, NODE_WHILELOOP, "While", NODE_CLASS_GROUP, NODE_OPTIONS);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, whileloop_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, whileloop_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_tree(&ntype, whileloop_init_tree, loop_update_tree);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_whileloop_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_whileloop_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_tree(&ntype, node_whileloop_init_tree, node_loop_update_tree);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, whileloop_execute);
 	
 	nodeRegisterType(lb, &ntype);

Modified: branches/particles-2010/source/blender/nodes/intern/TEX_nodes/TEX_common.c
===================================================================
--- branches/particles-2010/source/blender/nodes/intern/TEX_nodes/TEX_common.c	2011-05-07 13:36:30 UTC (rev 36537)
+++ branches/particles-2010/source/blender/nodes/intern/TEX_nodes/TEX_common.c	2011-05-07 13:55:32 UTC (rev 36538)
@@ -149,12 +149,12 @@
 	node_type_base(&ntype, NODE_GROUP, "Group", NODE_CLASS_GROUP, NODE_OPTIONS|NODE_CONST_OUTPUT);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, group_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, group_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_group_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_group_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, group_execute);
 	
 	nodeRegisterType(lb, &ntype);
@@ -209,13 +209,13 @@
 	node_type_base(&ntype, NODE_FORLOOP, "For", NODE_CLASS_GROUP, NODE_OPTIONS);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, forloop_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, forloop_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_tree(&ntype, forloop_init_tree, loop_update_tree);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_forloop_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_forloop_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_tree(&ntype, node_forloop_init_tree, node_loop_update_tree);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, forloop_execute);
 	
 	nodeRegisterType(lb, &ntype);
@@ -270,13 +270,13 @@
 	node_type_base(&ntype, NODE_WHILELOOP, "While", NODE_CLASS_GROUP, NODE_OPTIONS);
 	node_type_socket_templates(&ntype, NULL, NULL);
 	node_type_size(&ntype, 120, 60, 200);
-	node_type_label(&ntype, group_label);
-	node_type_init(&ntype, whileloop_init);
-	node_type_valid(&ntype, group_valid);
-	node_type_template(&ntype, whileloop_template);
-	node_type_update(&ntype, NULL, group_verify);
-	node_type_tree(&ntype, whileloop_init_tree, loop_update_tree);
-	node_type_edit(&ntype, group_edit_get, group_edit_set, group_edit_clear);
+	node_type_label(&ntype, node_group_label);
+	node_type_init(&ntype, node_whileloop_init);
+	node_type_valid(&ntype, node_group_valid);
+	node_type_template(&ntype, node_whileloop_template);
+	node_type_update(&ntype, NULL, node_group_verify);
+	node_type_tree(&ntype, node_whileloop_init_tree, node_loop_update_tree);
+	node_type_edit(&ntype, node_group_edit_get, node_group_edit_set, node_group_edit_clear);
 	node_type_exec_new(&ntype, group_initexec, group_freeexec, whileloop_execute);
 	
 	nodeRegisterType(lb, &ntype);


@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list