forked from bartvdbraak/blender
Bugfix #3725
When you disable a texture channel using Displacement in a Material, the initialize code and renderconvert code still though this was active.
This commit is contained in:
parent
b2b1b7c90b
commit
3be0c804ae
@ -574,6 +574,10 @@ static void do_init_render_material(Material *ma, int osa, float *amb)
|
||||
ma->texco= 0;
|
||||
ma->mapto= 0;
|
||||
for(a=0; a<MAX_MTEX; a++) {
|
||||
|
||||
/* separate tex switching */
|
||||
if(ma->septex & (1<<a)) continue;
|
||||
|
||||
mtex= ma->mtex[a];
|
||||
if(mtex && mtex->tex) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user