diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-04 10:03:00 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-04 10:03:00 +0300 |
commit | 31e4149c44780cffd13d3609a7beccf7e6f69822 (patch) | |
tree | 75cf512584f41856643820658e35eb22806d2ace /source/blender/src/sculptmode.c | |
parent | 0762a5a975335b2e805c62934ba2b224edde119d (diff) |
Reverted my fix for bug #5539, brush circle cursor is slow. The fix was causing more sculptmode drawing artifacts for some users. Since this is a non-critical performance related bug, it can wait until after 2.43.
Diffstat (limited to 'source/blender/src/sculptmode.c')
-rw-r--r-- | source/blender/src/sculptmode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/sculptmode.c b/source/blender/src/sculptmode.c index 5ac55cedbe1..e7258e29215 100644 --- a/source/blender/src/sculptmode.c +++ b/source/blender/src/sculptmode.c @@ -1970,7 +1970,9 @@ void sculpt() glEnable(GL_SCISSOR_TEST); /* Draw cursor */ - sculpt_paint_brush(1); + persp(PERSP_WIN); + glDisable(GL_DEPTH_TEST); + fdrawXORcirc((float)mouse[0],(float)mouse[1],sculptmode_brush()->size); myswapbuffers(); } |