Fix for bug #12334: the Disable Tex option didn't disable

textures for the Texface material option.
This commit is contained in:
Brecht Van Lommel
2008-05-22 13:46:05 +00:00
parent a4688b24dc
commit 5cf41da316

View File

@@ -2525,6 +2525,8 @@ void render_realtime_texture(ShadeInput *shi, Image *ima)
ShadeInputUV *suv= &shi->uv[shi->actuv];
int a;
if(R.r.scemode & R_NO_TEX) return;
if(firsttime) {
BLI_lock_thread(LOCK_IMAGE);
if(firsttime) {