From b2cad79500bb1af92153928479ca7d7144463e00 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 30 May 2014 00:26:05 +1000 Subject: Math lib: add negate_m3, negate_m4 --- source/blender/editors/sculpt_paint/paint_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/paint_utils.c') diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c index 642c1dd9529..25308f6595e 100644 --- a/source/blender/editors/sculpt_paint/paint_utils.c +++ b/source/blender/editors/sculpt_paint/paint_utils.c @@ -146,7 +146,7 @@ void paint_calc_redraw_planes(float planes[4][4], rect.ymax += 2; ED_view3d_clipping_calc(&bb, planes, &mats, &rect); - mul_m4_fl(planes, -1.0f); + negate_m4(planes); } float paint_calc_object_space_radius(ViewContext *vc, const float center[3], -- cgit v1.2.3