diff --git a/source/blender/blenkernel/BKE_bad_level_calls.h b/source/blender/blenkernel/BKE_bad_level_calls.h index f9e4cc6e937..93bfb2339be 100644 --- a/source/blender/blenkernel/BKE_bad_level_calls.h +++ b/source/blender/blenkernel/BKE_bad_level_calls.h @@ -235,8 +235,6 @@ struct Tex; struct TexResult; int multitex_thread(struct Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, struct TexResult *texres, short thread, short which_output); -/* previewrender.c */ -void BIF_preview_changed(short id_code); #endif diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index 3dde87b0b07..91fb9031597 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -348,9 +348,5 @@ void txt_copy_clipboard (struct Text *text){} char stipple_quarttone[1]; /* texture.c */ -int multitex_thread(Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, TexResult *texres, short thread, short which_output) {} - -/* previewrender.c */ -void BIF_preview_changed(short id_code) {} - +int multitex_thread(Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, TexResult *texres, short thread, short which_output) {return 0;} diff --git a/source/blender/nodes/intern/TEX_util.c b/source/blender/nodes/intern/TEX_util.c index 3a0094e1173..10fe3bab26c 100644 --- a/source/blender/nodes/intern/TEX_util.c +++ b/source/blender/nodes/intern/TEX_util.c @@ -209,7 +209,6 @@ void ntreeTexUpdatePreviews(bNodeTree* nodetree) ntreeTexExecTree(nodetree, &dummy_texres, coord, 1, 0, tex, 0); ntreeEndExecTree(nodetree); - BIF_preview_changed(ID_TE); } char* ntreeTexOutputMenu(bNodeTree *ntree)