Bake Render bug: check for which image to filter (bleed) used wrong

flag, picking wrong images (or even ones without buffer, so crashing).
This commit is contained in:
Ton Roosendaal
2006-11-28 18:28:23 +00:00
parent f0b42d60ac
commit 401a42b698

View File

@@ -3946,7 +3946,7 @@ int RE_bake_shade_all_selected(Render *re, int type)
/* filter images */
for(ima= G.main->image.first; ima; ima= ima->id.next) {
if((ima->flag & LIB_DOIT)==0) {
if((ima->id.flag & LIB_DOIT)==0) {
IMB_filter_extend(ima->ibuf);
IMB_filter_extend(ima->ibuf); /* 2nd pixel extra */