diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-02 20:27:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-02 20:27:41 +0400 |
commit | ec2c52c9c87550d2e551956e0b558e14e8264213 (patch) | |
tree | b10955edb1feeb9a6eed7e83a843fafba0e7def6 /source/blender/editors/sculpt_paint | |
parent | 7bd687ea588aca6826d75206faefdab6365be94f (diff) |
SCons
- remove scons option WITH_BF_FHS, its not needed anymore.
- comment WITH_BF_DOCS, was using epydocs which we dont use now.
- blenderlite target was broken, always using openmp.
- building without python wasnt working.
- fixed some warnings.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 3 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 814b30a6673..d5d5a7ad002 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -1005,8 +1005,9 @@ int paint_stroke_modal(bContext *C, wmOperator *op, wmEvent *event) paint_brush_stroke_add_step(C, op, event, mouse); } } - else + else { ;//ED_region_tag_redraw(ar); + } } } diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 3d74496ab67..5e360aad9ec 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -388,7 +388,7 @@ static int sculpt_brush_test_fast(SculptBrushTest *test, float co[3]) static int sculpt_brush_test_cube(SculptBrushTest *test, float co[3], float local[4][4]) { - const static float side = 0.70710678118654752440084436210485; // sqrt(.5); + static const float side = 0.70710678118654752440084436210485; // sqrt(.5); float local_co[3]; |