Fix T48054: Blender 2.77 doesn't import blenders fbx, due to recent changes in anim RNA API.
Please do not break API when not absolutely needed, here it was a mere parameter order issue...
This commit is contained in:
parent
db28ff54d6
commit
46aaa53998
@ -1793,10 +1793,9 @@ static void rna_def_fcurve_keyframe_points(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
parm = RNA_def_float(func, "value", 0.0f, -FLT_MAX, FLT_MAX, "",
|
||||
"Y Value of this keyframe point", -FLT_MAX, FLT_MAX);
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED);
|
||||
|
||||
RNA_def_enum(func, "keyframe_type", rna_enum_beztriple_keyframe_type_items, 0, "",
|
||||
"Type of keyframe to insert");
|
||||
RNA_def_enum_flag(func, "options", keyframe_flag_items, 0, "", "Keyframe options");
|
||||
RNA_def_enum(func, "keyframe_type", rna_enum_beztriple_keyframe_type_items, BEZT_KEYTYPE_KEYFRAME, "",
|
||||
"Type of keyframe to insert");
|
||||
|
||||
parm = RNA_def_pointer(func, "keyframe", "Keyframe", "", "Newly created keyframe");
|
||||
RNA_def_function_return(func, parm);
|
||||
|
Loading…
Reference in New Issue
Block a user