Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-08-28 03:14:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-28 03:14:52 +0400
commit5729b991fa06734a7a7d58b4ff0f2feab5db8bca (patch)
treef339e03a34d18b4de6a7022e0f2aead7b2916950 /source
parent77c7e10e9c528326fae9164abdb486c8cb8a65d1 (diff)
bugfix [#23548] calling fcurves.new() results in EXC_BAD_ACCESS
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_action.c b/source/blender/makesrna/intern/rna_action.c
index 623717e469f..fe47d764fac 100644
--- a/source/blender/makesrna/intern/rna_action.c
+++ b/source/blender/makesrna/intern/rna_action.c
@@ -393,6 +393,7 @@ static void rna_def_action_fcurves(BlenderRNA *brna, PropertyRNA *cprop)
RNA_def_function_ui_description(func, "Add a keyframe to the curve.");
RNA_def_function_flag(func, FUNC_USE_REPORTS);
parm= RNA_def_string(func, "data_path", "", 0, "Data Path", "FCurve data path to use.");
+ RNA_def_property_flag(parm, PROP_REQUIRED);
parm= RNA_def_int(func, "array_index", 0, 0, INT_MAX, "Index", "Array index.", 0, INT_MAX);
parm= RNA_def_string(func, "action_group", "", 0, "Action Group", "Acton group to add this fcurve into.");