rna renaming FModifier & GameObjectSettings
[blender.git] / source / blender / editors / space_graph / graph_edit.c
index 01378d9ef85654f0f3554ee46264d277a864fe9c..5c692ba11124ecaae29966c88e720f9e6fa7807f 100644 (file)
@@ -1043,7 +1043,7 @@ static int graphkeys_sound_bake_exec(bContext *C, wmOperator *op)
                                                                          RNA_float_get(op->ptr, "release"),
                                                                          RNA_float_get(op->ptr, "threshold"),
                                                                          RNA_boolean_get(op->ptr, "accumulate"),
-                                                                         RNA_boolean_get(op->ptr, "additive"),
+                                                                         RNA_boolean_get(op->ptr, "use_additive"),
                                                                          RNA_boolean_get(op->ptr, "square"),
                                                                          RNA_float_get(op->ptr, "sthreshold"),
                                                                          FPS, &sbi.length);
@@ -1118,7 +1118,7 @@ void GRAPH_OT_sound_bake (wmOperatorType *ot)
        RNA_def_float(ot->srna, "release", 0.2, 0.0, 5.0, "Release time", "", 0.01, 0.2);
        RNA_def_float(ot->srna, "threshold", 0.0, 0.0, 1.0, "Threshold", "", 0.01, 0.1);
        RNA_def_boolean(ot->srna, "accumulate", 0, "Accumulate", "");
-       RNA_def_boolean(ot->srna, "additive", 0, "Additive", "");
+       RNA_def_boolean(ot->srna, "use_additive", 0, "Additive", "");
        RNA_def_boolean(ot->srna, "square", 0, "Square", "");
        RNA_def_float(ot->srna, "sthreshold", 0.1, 0.0, 1.0, "Square Threshold", "", 0.01, 0.1);
 }