Cleanup: parentheses warning
authorCampbell Barton <ideasman42@gmail.com>
Thu, 3 May 2018 17:37:20 +0000 (19:37 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 3 May 2018 17:37:20 +0000 (19:37 +0200)
source/blender/blenkernel/intern/shrinkwrap.c

index ef4ddc36d08d259721185e5f326ef88df5a6aff3..ced836181a5821c787a78a4f9c44a1d33d1eb26f 100644 (file)
@@ -437,8 +437,8 @@ static void shrinkwrap_calc_normal_projection(ShrinkwrapCalcData *calc, bool for
                }
        }
        else {
-               if (targ_tree = bvhtree_from_mesh_get(
-                       &treedata_stack.dmtreedata, calc->target, BVHTREE_FROM_LOOPTRI, 4))
+               if ((targ_tree = bvhtree_from_mesh_get(
+                            &treedata_stack.dmtreedata, calc->target, BVHTREE_FROM_LOOPTRI, 4)))
                {
                        targ_callback = treedata_stack.dmtreedata.raycast_callback;
                        treeData = &treedata_stack.dmtreedata;