-->Fix for bake with faces that have alpha

Baking for faces with alpha only worked if 'clear' was
turned off in bake options.
This commit is contained in:
Geoffrey Bantle
2010-05-21 09:58:26 +00:00
parent a17f074ffc
commit d5316387a4

View File

@@ -2634,7 +2634,7 @@ int RE_bake_shade_all_selected(Render *re, int type, Object *actob, short *do_up
get_next_bake_face(NULL);
/* do we need a mask? */
if (re->r.bake_filter && (re->r.bake_flag & R_BAKE_CLEAR)==0)
if (re->r.bake_filter)
usemask = 1;
/* baker uses this flag to detect if image was initialized */