[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33153] branches/particles-2010/source/ blender/nodes/intern/SIM_nodes/SIM_constant.c: Fixed missing storage struct definition for constants nodes.

Lukas Toenne lukas.toenne at googlemail.com
Thu Nov 18 09:28:55 CET 2010


Revision: 33153
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33153
Author:   lukastoenne
Date:     2010-11-18 09:28:55 +0100 (Thu, 18 Nov 2010)

Log Message:
-----------
Fixed missing storage struct definition for constants nodes.

Modified Paths:
--------------
    branches/particles-2010/source/blender/nodes/intern/SIM_nodes/SIM_constant.c

Modified: branches/particles-2010/source/blender/nodes/intern/SIM_nodes/SIM_constant.c
===================================================================
--- branches/particles-2010/source/blender/nodes/intern/SIM_nodes/SIM_constant.c	2010-11-18 08:03:07 UTC (rev 33152)
+++ branches/particles-2010/source/blender/nodes/intern/SIM_nodes/SIM_constant.c	2010-11-18 08:28:55 UTC (rev 33153)
@@ -155,7 +155,12 @@
 	type->minwidth = 100;
 	type->maxwidth = 320;
 	type->flag = NODE_OPTIONS;
+
+	strcpy(type->storagename, "SimNodeConstant");
 	type->initfunc = init;
+	type->freestoragefunc = node_free_standard_storage;
+	type->copystoragefunc = node_copy_standard_storage;
+
 	type->prepare_outputs = prepare_outputs;
 	type->enqueue = enqueue;
 }





More information about the Bf-blender-cvs mailing list