From dd8c56e0774c6212390a43f208515b879d5156a0 Mon Sep 17 00:00:00 2001 From: Ben Batt Date: Mon, 28 Aug 2006 16:22:55 +0000 Subject: [PATCH] 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). --- source/blender/blenkernel/BKE_bad_level_calls.h | 4 ++++ source/blender/blenkernel/bad_level_call_stubs/stubs.c | 3 +++ 2 files changed, 7 insertions(+) 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) {}