forked from bartvdbraak/blender
Obsessive Null Checking Compulsion case:
Textured draw mode + DynTopo crashed after recent specularity tweak.
This commit is contained in:
parent
4d53729ab9
commit
aa96f0290a
@ -2323,7 +2323,7 @@ void GPU_draw_buffers(GPU_Buffers *buffers, DMSetMaterial setMaterial,
|
||||
if (!setMaterial(f->mat_nr + 1, NULL))
|
||||
return;
|
||||
}
|
||||
else {
|
||||
else if (setMaterial) {
|
||||
if (!setMaterial(1, NULL))
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user