Commit: 46aaa539984231021a2e895afa8c04734de96c86 Author: Bastien Montagne Date: Tue Apr 5 11:51:54 2016 +0200 Branches: master https://developer.blender.org/rB46aaa539984231021a2e895afa8c04734de96c86
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... =================================================================== M source/blender/makesrna/intern/rna_fcurve.c =================================================================== diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c index c34d812..b765ca1 100644 --- a/source/blender/makesrna/intern/rna_fcurve.c +++ b/source/blender/makesrna/intern/rna_fcurve.c @@ -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); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs