Add update to brush texture preview when brush is changed. Solves

cycling through tools with number or tool keys and no texture preview
getting updated.
This commit is contained in:
Antony Riakiotakis 2013-04-13 08:41:52 +00:00
parent 2c47244954
commit fb9d88692d

@ -343,6 +343,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
break; break;
case NC_BRUSH: case NC_BRUSH:
buttons_area_redraw(sa, BCONTEXT_TEXTURE); buttons_area_redraw(sa, BCONTEXT_TEXTURE);
sbuts->preview = 1;
break; break;
case NC_TEXTURE: case NC_TEXTURE:
case NC_IMAGE: case NC_IMAGE: