fix bad level call in texture nodes

BIF_preview_changed wasn't needed after all.
This commit is contained in:
Andrea Weikert 2008-11-12 21:02:45 +00:00
parent bc53b942fe
commit ae3bb90975
3 changed files with 1 additions and 8 deletions

@ -235,8 +235,6 @@ struct Tex;
struct TexResult; struct TexResult;
int multitex_thread(struct Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, struct TexResult *texres, short thread, short which_output); 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 #endif

@ -348,9 +348,5 @@ void txt_copy_clipboard (struct Text *text){}
char stipple_quarttone[1]; char stipple_quarttone[1];
/* texture.c */ /* texture.c */
int multitex_thread(Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, TexResult *texres, short thread, short which_output) {} int multitex_thread(Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, TexResult *texres, short thread, short which_output) {return 0;}
/* previewrender.c */
void BIF_preview_changed(short id_code) {}

@ -209,7 +209,6 @@ void ntreeTexUpdatePreviews(bNodeTree* nodetree)
ntreeTexExecTree(nodetree, &dummy_texres, coord, 1, 0, tex, 0); ntreeTexExecTree(nodetree, &dummy_texres, coord, 1, 0, tex, 0);
ntreeEndExecTree(nodetree); ntreeEndExecTree(nodetree);
BIF_preview_changed(ID_TE);
} }
char* ntreeTexOutputMenu(bNodeTree *ntree) char* ntreeTexOutputMenu(bNodeTree *ntree)