Tiny fix but took me hours to track down: render layer menu in Image Window

is not being reset when you render, so after render the layer you picked is
still visible in Image Window.
This commit is contained in:
2008-01-17 15:45:40 +00:00
parent 16a37bcd31
commit e14ed616fb

View File

@@ -748,8 +748,7 @@ static char *layer_menu(RenderResult *rr, short *curlay)
a+= sprintf(str+a, "|%s %%x%d", rl->name, nr);
}
if(*curlay >= nr)
*curlay= 0;
/* no curlay clip here, on render (redraws) the amount of layers can be 1 fir single-layer render */
return str;
}