diff --git a/scripts/startup/bl_ui/space_graph.py b/scripts/startup/bl_ui/space_graph.py index 5a550acd107..4757f32bfbe 100644 --- a/scripts/startup/bl_ui/space_graph.py +++ b/scripts/startup/bl_ui/space_graph.py @@ -252,7 +252,7 @@ class GRAPH_MT_key(Menu): layout.separator() layout.operator_menu_enum("graph.keyframe_insert", "type") - layout.operator_menu_enum("graph.fmodifier_add", "type") + layout.operator_menu_enum("graph.fmodifier_add", "type").only_active = False layout.operator("graph.sound_bake") layout.separator() diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index b1f4673f7eb..79c8b26d463 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -2843,7 +2843,7 @@ void GRAPH_OT_fmodifier_add(wmOperatorType *ot) ot->prop = prop; RNA_def_boolean( - ot->srna, "only_active", 1, "Only Active", "Only add F-Modifier to active F-Curve"); + ot->srna, "only_active", false, "Only Active", "Only add F-Modifier to active F-Curve"); } /** \} */