diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-04 21:43:41 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-04 21:43:41 +0400 |
commit | d8c17fcf8b36ea38daa4c2b9798e83c8cea3d633 (patch) | |
tree | 0e113c39dc787bd8ae409600ed5b6331d28d24be /source | |
parent | ecddc0739b56683601fa02b7c7bb2142a6039a7e (diff) |
Bugfix #3188
Enter Vpaint or Wpaint did not redraw headers of all 3d windows, so the
mode menu indicator didn't update.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/vpaint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c index e7f53724de2..d50c4358197 100644 --- a/source/blender/src/vpaint.c +++ b/source/blender/src/vpaint.c @@ -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) { |