diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-12-13 01:32:07 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-12-13 01:32:07 +0400 |
commit | 669b5902298f0f80159395d020657d6630a532ac (patch) | |
tree | cbdcbdf9b0a313595048078188fb85d39a912c1e | |
parent | 85eaa989807268dda60408f41475216ad45888d1 (diff) |
minor style and comment fix.
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index a0b6bd5ca20..eea6e2ec389 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -3949,7 +3949,7 @@ static void sculpt_update_cache_invariants(bContext *C, Sculpt *sd, SculptSessio cache->gravity_direction[2] = 1.0; } - /* transform to sculpted object space by inverting object rotation matrix */ + /* transform to sculpted object space */ mul_m3_v3(mat, cache->gravity_direction); normalize_v3(cache->gravity_direction); diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 5d50d9d479f..ea07873a9cf 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -3396,7 +3396,7 @@ static void view3d_main_area_draw_info(const bContext *C, ARegion *ar, const cha { Brush *br = BKE_paint_brush(&scene->toolsettings->imapaint.paint); - if (br && br->imagepaint_tool == PAINT_TOOL_CLONE) + if (br && (br->imagepaint_tool == PAINT_TOOL_CLONE)) drawcursor(scene, ar, v3d); break; |