diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2015-09-04 02:04:37 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2015-09-04 02:04:37 +0300 |
commit | ef629e0d504ea6b53cf490f0f084d5a0b587bf6b (patch) | |
tree | fbd9a87c2164176762811fdc9375b01bbca3ff41 /source/blender/modifiers/intern/MOD_displace.c | |
parent | c3fef001ee926fc183255b623f56da9fc5fcbb73 (diff) |
Quiet warnings
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
Diffstat (limited to 'source/blender/modifiers/intern/MOD_displace.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_displace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_displace.c b/source/blender/modifiers/intern/MOD_displace.c index 7523c7c7525..b20d7d8a3a9 100644 --- a/source/blender/modifiers/intern/MOD_displace.c +++ b/source/blender/modifiers/intern/MOD_displace.c @@ -235,7 +235,8 @@ static void displaceModifier_do( clnors = CustomData_get_layer(ldata, CD_NORMAL); vert_clnors = MEM_mallocN(sizeof(*vert_clnors) * (size_t)numVerts, __func__); - BKE_mesh_normals_loop_to_vertex(numVerts, dm->getLoopArray(dm), dm->getNumLoops(dm), clnors, vert_clnors); + BKE_mesh_normals_loop_to_vertex(numVerts, dm->getLoopArray(dm), dm->getNumLoops(dm), + (const float (*)[3])clnors, vert_clnors); } else { direction = MOD_DISP_DIR_NOR; |