diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-03 03:36:02 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-03 03:36:02 +0400 |
commit | 97d8839ad565bff1a02da59a1a2f97264ba79e68 (patch) | |
tree | e38e5b5a940de2e78eef40f86007f500a0c056f8 /source/blender/editors/animation/fmodifier_ui.c | |
parent | 72554c5dbbf43640981fa59ddcb5df2a4256811a (diff) |
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
Diffstat (limited to 'source/blender/editors/animation/fmodifier_ui.c')
-rw-r--r-- | source/blender/editors/animation/fmodifier_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/fmodifier_ui.c b/source/blender/editors/animation/fmodifier_ui.c index 4aff26105f3..65c73355ad7 100644 --- a/source/blender/editors/animation/fmodifier_ui.c +++ b/source/blender/editors/animation/fmodifier_ui.c @@ -258,7 +258,7 @@ static void draw_modifier__fn_generator(uiLayout *layout, ID *id, FModifier *fcm /* 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 |