[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12082] trunk/blender/source/blender/src/ space.c: The option to automatically run scriptlinks wasnt in the preferences so it was not at all obvious that it was a preference .

Campbell Barton cbarton at metavr.com
Tue Sep 18 14:24:22 CEST 2007


Revision: 12082
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12082
Author:   campbellbarton
Date:     2007-09-18 14:24:22 +0200 (Tue, 18 Sep 2007)

Log Message:
-----------
The option to automatically run scriptlinks wasnt in the preferences so it was not at all obvious that it was a preference. added a button for this in the prefs.

Modified Paths:
--------------
    trunk/blender/source/blender/src/space.c

Modified: trunk/blender/source/blender/src/space.c
===================================================================
--- trunk/blender/source/blender/src/space.c	2007-09-18 11:42:52 UTC (rev 12081)
+++ trunk/blender/source/blender/src/space.c	2007-09-18 12:24:22 UTC (rev 12082)
@@ -3781,7 +3781,15 @@
 			(xpos+edgsp+(1*mpref)+(1*midsp)),y2,mpref,buth,
 			&(U.uiflag), 0, 0, 0, 0, "Allows all codecs for rendering (not guaranteed)");
 #endif
+		
+		uiDefBut(block, LABEL,0,"Auto Run Python Scripts",
+			(xpos+edgsp+(1*midsp)+(1*mpref)),y6label,mpref,buth,
+			0, 0, 0, 0, 0, "");
 
+		uiDefButBitI(block, TOG, G_DOSCRIPTLINKS, REDRAWBUTSSCRIPT, "Enabled by Default",
+			(xpos+edgsp+(1*mpref)+(1*midsp)),y5,mpref,buth,
+			&(G.f), 0, 0, 0, 0, "Allow any .blend file to run scripts automatically (unsafe with blend files from an untrusted source)");
+		
 		uiDefBut(block, LABEL,0,"Keyboard:",
 			(xpos+edgsp+(3*midsp)+(3*mpref)),y3label,mpref,buth,
 			0, 0, 0, 0, 0, "");





More information about the Bf-blender-cvs mailing list