Commit: 669b5902298f0f80159395d020657d6630a532ac
Author: Antony Riakiotakis
Date: Thu Dec 12 23:32:07 2013 +0200
http://developer.blender.org/rB669b5902298f0f80159395d020657d6630a532ac
minor style and comment fix.
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
M source/blender/editors/space_view3d/view3d_draw.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt.c
b/source/blender/editors/sculpt_paint/sculpt.c
index a0b6bd5..eea6e2e 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 5d50d9d..ea07873 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;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs