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
This commit is contained in:
Joshua Leung
2009-10-02 23:36:02 +00:00
parent 72554c5dbb
commit 97d8839ad5

View File

@@ -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