[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23611] trunk/blender/source/blender/ editors/animation/fmodifier_ui.c: F-Modifiers: Fix for Function Generator' s "type" field not working

Joshua Leung aligorith at gmail.com
Sat Oct 3 01:36:07 CEST 2009


Revision: 23611
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23611
Author:   aligorith
Date:     2009-10-03 01:36:02 +0200 (Sat, 03 Oct 2009)

Log Message:
-----------
F-Modifiers: Fix for Function Generator's "type" field not working

The field in RNA got renamed, but the UI code didn't get corrected, so the field for this wasn't working

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/fmodifier_ui.c

Modified: trunk/blender/source/blender/editors/animation/fmodifier_ui.c
===================================================================
--- trunk/blender/source/blender/editors/animation/fmodifier_ui.c	2009-10-02 23:28:58 UTC (rev 23610)
+++ trunk/blender/source/blender/editors/animation/fmodifier_ui.c	2009-10-02 23:36:02 UTC (rev 23611)
@@ -258,7 +258,7 @@
 	
 	/* add the settings */
 	col= uiLayoutColumn(layout, 1);
-		uiItemR(col, "", 0, &ptr, "type", 0);
+		uiItemR(col, "", 0, &ptr, "function_type", 0);
 		uiItemR(col, NULL, 0, &ptr, "additive", UI_ITEM_R_TOGGLE);
 	
 	col= uiLayoutColumn(layout, 0); // no grouping for now





More information about the Bf-blender-cvs mailing list