From db795b66fa865ad99bc52fb3c9b053b9bb332f9b Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 17 Dec 2013 10:46:21 +0100 Subject: [PATCH] Fix bplayer broken in own rB51f5c994e9f0. --- source/blender/editors/animation/keyframing.c | 2 +- source/blenderplayer/bad_level_call_stubs/stubs.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 0c4536436d3..968a3ff15ad 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -255,7 +255,7 @@ static void update_autoflags_fcurve_direct(FCurve *fcu, PropertyRNA *prop) /* Update integer/discrete flags of the FCurve (used when creating/inserting keyframes, * but also through RNA when editing an ID prop, see T37103). */ -void update_autoflags_fcurve(FCurve *fcu, bContext *C, ReportList *reports, struct PointerRNA *ptr) +void update_autoflags_fcurve(FCurve *fcu, bContext *C, ReportList *reports, PointerRNA *ptr) { PointerRNA tmp_ptr; PropertyRNA *prop; diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index 7ff5f83c21c..3111cb5edfa 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -541,6 +541,7 @@ void WM_operatortype_append_macro_ptr(void (*opfunc)(struct wmOperatorType *, vo void WM_operator_bl_idname(char *to, const char *from) {STUB_ASSERT(0);} void WM_operator_py_idname(char *to, const char *from) {STUB_ASSERT(0);} void WM_operator_ui_popup(struct bContext *C, struct wmOperator *op, int width, int height) {STUB_ASSERT(0);} +void update_autoflags_fcurve(struct FCurve *fcu, struct bContext *C, struct ReportList *reports, struct PointerRNA *ptr) {STUB_ASSERT(0);} short insert_keyframe(struct ID *id, struct bAction *act, const char group[], const char rna_path[], int array_index, float cfra, short flag) {STUB_ASSERT(0); return 0;} short delete_keyframe(struct ID *id, struct bAction *act, const char group[], const char rna_path[], int array_index, float cfra, short flag) {STUB_ASSERT(0); return 0;} char *WM_operator_pystring_ex(struct bContext *C, struct wmOperator *op, const bool all_args, struct wmOperatorType *ot, struct PointerRNA *opptr) {STUB_ASSERT(0); return (char *)NULL;}