[Bf-blender-cvs] [50f17db] master: Fix for too small array of function pointers in node RNA registration.

Lukas Tönne noreply at git.blender.org
Fri Dec 4 17:15:15 CET 2015


Commit: 50f17db6410b4947340d707ceb3112c97b2db658
Author: Lukas Tönne
Date:   Fri Dec 4 17:14:33 2015 +0100
Branches: master
https://developer.blender.org/rB50f17db6410b4947340d707ceb3112c97b2db658

Fix for too small array of function pointers in node RNA registration.

===================================================================

M	source/blender/makesrna/intern/rna_nodetree.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 56b4b3e..c10fe52 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -1349,7 +1349,7 @@ static bNodeType *rna_Node_register_base(Main *bmain, ReportList *reports, Struc
 	PointerRNA dummyptr;
 	FunctionRNA *func;
 	PropertyRNA *parm;
-	int have_function[9];
+	int have_function[10];
 
 	/* setup dummy node & node type to store static properties in */
 	memset(&dummynt, 0, sizeof(bNodeType));




More information about the Bf-blender-cvs mailing list