From 793d7b1eb9ea7c84324727844ba179959174ea6a Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 17 Dec 2007 08:32:14 +0000 Subject: More BPyAPI compiling fixes again. * Added missing stubs so that blenderplayer can be linked. --- source/blender/blenkernel/bad_level_call_stubs/stubs.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/blender/blenkernel/bad_level_call_stubs') diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index 55931b50462..25c4f099743 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -37,6 +37,7 @@ #include "BKE_bad_level_calls.h" #include "BLI_blenlib.h" #include "BPI_script.h" +#include "DNA_ID.h" #include "DNA_texture_types.h" #include "DNA_material_types.h" #include "DNA_node_types.h" @@ -136,6 +137,14 @@ void BPY_pyconstraint_eval(struct bPythonConstraint *con, struct bConstraintOb * void BPY_pyconstraint_target(struct bPythonConstraint *con, struct bConstraintTarget *ct) { } +/* Py ID Hash*/ +void BPY_idhash_add(void *value){} +void *BPY_idhash_get(ID *id){} +void BPY_idhash_remove(ID *id) +{ + return 0; +} +void BPY_idhash_invalidate(ID *id){} /* writefile.c */ -- cgit v1.2.3