Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2021-02-22 06:11:59 +0300
committerHoward Trickey <howard.trickey@gmail.com>2021-02-22 06:11:59 +0300
commit29a28a87e43da4d8727f574babad91d17e754fb5 (patch)
tree7ab013bae22966ccb15c70c91a35c796a392b6f2 /source/blender/blenkernel/intern/mesh_boolean_convert.cc
parentaf940c68cbed7e840d6ae58f2645ff12ed6abffb (diff)
Added a cast needed to shut up an error in last commit.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_boolean_convert.cc')
-rw-r--r--source/blender/blenkernel/intern/mesh_boolean_convert.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh_boolean_convert.cc b/source/blender/blenkernel/intern/mesh_boolean_convert.cc
index 807bb3534f6..b546550a85f 100644
--- a/source/blender/blenkernel/intern/mesh_boolean_convert.cc
+++ b/source/blender/blenkernel/intern/mesh_boolean_convert.cc
@@ -578,7 +578,7 @@ static void copy_or_interp_loop_attributes(Mesh *dest_mesh,
* At this point we cannot yet calculate the interpolation weights, as they depend on
* the coordinate where interpolation is to happen, but we can allocate the needed arrays,
* so they don't have to be allocated per-layer. */
- cos_2d = BLI_array_alloca(cos_2d, orig_mp->totloop);
+ cos_2d = (float(*)[2])BLI_array_alloca(cos_2d, orig_mp->totloop);
weights = Array<float>(orig_mp->totloop);
src_blocks_ofs = Array<const void *>(orig_mp->totloop);
get_poly2d_cos(orig_me, orig_mp, cos_2d, mim.to_obj0[orig_me_index], axis_mat);