Logic UI: name mismatch on motion blur property (report and patch by Jacob F.)
authorDalai Felinto <dfelinto@gmail.com>
Wed, 11 Aug 2010 21:51:31 +0000 (21:51 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Wed, 11 Aug 2010 21:51:31 +0000 (21:51 +0000)
I forgot to update the UI code (or to commit) when I changed the rna name to match docs. (0 to 1 values should be called factor)

source/blender/editors/space_logic/logic_window.c

index 723227a36e481aab4b86eb6233c4890886d46455..798c7639d7e7bc4de0c61758bf8a2be567734efe 100644 (file)
@@ -3929,7 +3929,7 @@ static void draw_actuator_filter_2d(uiLayout *layout, PointerRNA *ptr)
                        split=uiLayoutSplit(layout, 0.75, 1);
                        row= uiLayoutRow(split, 0);
                        uiLayoutSetActive(row, RNA_boolean_get(ptr, "enable_motion_blur")==1);
-                       uiItemR(row, ptr, "motion_blur_value", 0, NULL, 0);
+                       uiItemR(row, ptr, "motion_blur_factor", 0, NULL, 0);
                        uiItemR(split, ptr, "enable_motion_blur", UI_ITEM_R_TOGGLE, NULL, 0);
                        break;
                default: // all other 2D Filters