diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-29 18:26:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-29 18:26:32 +0400 |
commit | b2cad79500bb1af92153928479ca7d7144463e00 (patch) | |
tree | e34b336625b2795a371eab7dcc0fc67588f74699 /source/blender/editors/sculpt_paint/paint_hide.c | |
parent | 0780f5915b29ab7102bf1cb8bddd54774161d0d3 (diff) |
Math lib: add negate_m3, negate_m4
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_hide.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_hide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index 3d860145f59..bc37a88d7f0 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -329,7 +329,7 @@ static void clip_planes_from_rect(bContext *C, view3d_set_viewcontext(C, &vc); view3d_get_transformation(vc.ar, vc.rv3d, vc.obact, &mats); ED_view3d_clipping_calc(&bb, clip_planes, &mats, rect); - mul_m4_fl(clip_planes, -1.0f); + negate_m4(clip_planes); } /* If mode is inside, get all PBVH nodes that lie at least partially |