diff options
author | Ben Batt <benbatt@gmail.com> | 2006-08-28 20:22:55 +0400 |
---|---|---|
committer | Ben Batt <benbatt@gmail.com> | 2006-08-28 20:22:55 +0400 |
commit | dd8c56e0774c6212390a43f208515b879d5156a0 (patch) | |
tree | 5b33a0486db10f53f5b7117941afd610dff788fa /source/blender/blenkernel | |
parent | c435decb313b56777840cac089984732f869f151 (diff) |
Added a BKE_bad_level_calls.h stub for NewBooleanDerivedMesh(). This fixes the
"undefined reference to NewBooleanDerivedMesh" error when building with make
(reported on IRC by Desoto, confirmed by Genscher2).
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_bad_level_calls.h | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/bad_level_call_stubs/stubs.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_bad_level_calls.h b/source/blender/blenkernel/BKE_bad_level_calls.h index 4ae25a44b94..8c2a6df7d65 100644 --- a/source/blender/blenkernel/BKE_bad_level_calls.h +++ b/source/blender/blenkernel/BKE_bad_level_calls.h @@ -148,7 +148,11 @@ void bglEnd(void); struct DispListMesh; struct Object; + +/* booleanops.c */ struct DispListMesh *NewBooleanMeshDLM(struct Object *ob, struct Object *ob_select, int int_op_type); +struct DerivedMesh *NewBooleanDerivedMesh(struct Object *ob, + struct Object *ob_select, int int_op_type); #endif diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index 5f4cdce5090..853d3ea7f29 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -220,7 +220,10 @@ void bglVertex3fv(float *vec) {} void bglVertex3f(float x, float y, float z) {} void bglEnd(void) {} +/* booleanops.c */ struct DispListMesh *NewBooleanMeshDLM(struct Object *ob, struct Object *ob_select, int int_op_type) { return 0; } +struct DerivedMesh *NewBooleanDerivedMesh(struct Object *ob, + struct Object *ob_select, int int_op_type) {} // bobj read/write debug messages void elbeemDebugOut(char *msg) {} |