Enter Vpaint or Wpaint did not redraw headers of all 3d windows, so the
mode menu indicator didn't update.
This commit is contained in:
Ton Roosendaal
2005-10-04 17:43:41 +00:00
parent ecddc0739b
commit d8c17fcf8b

View File

@@ -1326,7 +1326,7 @@ void set_wpaint(void) /* toggle */
if(G.f & G_WEIGHTPAINT) G.f &= ~G_WEIGHTPAINT;
else G.f |= G_WEIGHTPAINT;
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWVIEW3D, 1); /* including header */
allqueue(REDRAWBUTSEDIT, 0);
/* Weightpaint works by overriding colors in mesh,
@@ -1381,7 +1381,7 @@ void set_vpaint(void) /* toggle */
set_wpaint();
}
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWVIEW3D, 1); /* including header */
allqueue(REDRAWBUTSEDIT, 0);
if(G.f & G_VERTEXPAINT) {