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).
This commit is contained in:
Ben Batt 2006-08-28 16:22:55 +00:00
parent c435decb31
commit dd8c56e077
2 changed files with 7 additions and 0 deletions

@ -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

@ -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) {}