[Bf-blender-cvs] [6a0c187] master: Revert "Fix T47896: Scripted Expression string length limit is too short for some autogenerated expressions"

Joshua Leung noreply at git.blender.org
Sat Mar 26 11:00:29 CET 2016


Commit: 6a0c18765307fba22a2fab78cadcabc73c9b10bb
Author: Joshua Leung
Date:   Sat Mar 26 23:00:20 2016 +1300
Branches: master
https://developer.blender.org/rB6a0c18765307fba22a2fab78cadcabc73c9b10bb

Revert "Fix T47896: Scripted Expression string length limit is too short for some autogenerated expressions"

This reverts commit 322f86d6b330ebeb1da5c1f527714745dc901460.

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

M	source/blender/makesdna/DNA_anim_types.h

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

diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h
index 55998ba..fdad6aa 100644
--- a/source/blender/makesdna/DNA_anim_types.h
+++ b/source/blender/makesdna/DNA_anim_types.h
@@ -411,7 +411,7 @@ typedef struct ChannelDriver {
 	/* python expression to execute (may call functions defined in an accessory file) 
 	 * which relates the target 'variables' in some way to yield a single usable value
 	 */
-	char expression[512];	/* expression to compile for evaluation */
+	char expression[256];	/* expression to compile for evaluation */
 	void *expr_comp; 		/* PyObject - compiled expression, don't save this */
 	
 	float curval;		/* result of previous evaluation */




More information about the Bf-blender-cvs mailing list