Revert assert, Eevee uses uniforms that might not exist

This commit is contained in:
Campbell Barton 2017-05-22 17:57:34 +10:00
parent 9efd3a3f63
commit dbb1a692f7
1 changed files with 2 additions and 1 deletions

View File

@ -623,7 +623,8 @@ static void DRW_interface_uniform(DRWShadingGroup *shgroup, const char *name,
if (uni->location == -1) {
if (G.debug & G_DEBUG)
fprintf(stderr, "Uniform '%s' not found!\n", name);
BLI_assert(0);
/* Nice to enable eventually, for now eevee uses uniforms that might not exist. */
// BLI_assert(0);
MEM_freeN(uni);
return;
}