diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-08-22 22:34:47 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-08-22 22:34:47 +0400 |
commit | 3e7fc6145fb717a4879b0daba63b4cb0cc972437 (patch) | |
tree | 5f7bb7bb2e3aca192e347492e88562a556b34180 | |
parent | f237a466c111b439a278ff78a959bc4c63cacfd0 (diff) |
Added a couple of missing stubs to clean up some warnings...
Kent
-rw-r--r-- | source/blender/blenkernel/BKE_bad_level_calls.h | 9 | ||||
-rw-r--r-- | source/blender/blenkernel/bad_level_call_stubs/stubs.c | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_bad_level_calls.h b/source/blender/blenkernel/BKE_bad_level_calls.h index ddc18851a9f..296fd5837b5 100644 --- a/source/blender/blenkernel/BKE_bad_level_calls.h +++ b/source/blender/blenkernel/BKE_bad_level_calls.h @@ -63,6 +63,8 @@ struct Script; struct Text; struct IpoDriver; /* DNA_curve_types.h */ struct Object; +struct bPythonConstraint; +struct bConstraintOb; void BPY_do_pyscript (struct ID *id, short int event); void BPY_clear_script (struct Script *script); void BPY_free_compiled_text (struct Text *text); @@ -72,6 +74,10 @@ float BPY_pydriver_eval(struct IpoDriver *driver); void BPY_pydriver_update(void); /* button python evaluation */ int BPY_button_eval(char *expr, double *value); +void BPY_pyconstraint_eval(struct bPythonConstraint *con, float ownermat[][4], float targetmat[][4]); +void BPY_pyconstraint_driver(struct bPythonConstraint *con, struct bConstraintOb *cob, struct Object *target, char subtarget[]); +int BPY_pyconstraint_targets(struct bPythonConstraint *con, float targetmat[][4]); + /* writefile.c */ struct Oops; @@ -179,6 +185,9 @@ void post_tag_change(struct VTag *vtag); void post_taggroup_create(struct VTagGroup *vtaggroup); char *verse_client_name(void); void post_transform(struct VNode *vnode); +void post_transform_pos(struct VNode *vnode); +void post_transform_rot(struct VNode *vnode); +void post_transform_scale(struct VNode *vnode); void post_object_free_constraint(struct VNode *vnode); void post_link_set(struct VLink *vlink); void post_link_destroy(struct VLink *vlink); diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index 92cf5f6c462..4521f1d1dea 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -323,6 +323,4 @@ void antialias_tagbuf(int xsize, int ysize, char *rectmove) {} /* imagetexture.c stub */ void ibuf_sample(struct ImBuf *ibuf, float fx, float fy, float dx, float dy, float *result) {} -void update_for_newframe() -{ -} +void update_for_newframe() {} |