diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-12-23 00:38:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-12-23 00:38:06 +0300 |
commit | 2811707b927acea0223080eea59346e8e3fe2947 (patch) | |
tree | f185c6c453c351cb5fc793885bfb5d388aa9c4ff | |
parent | dcd8c516dd9b07b70979624c5811cb49ef996fe0 (diff) |
Fixed stupid typo with detecting corners of source mdisp.
Haven't noticed before because destination is a copy of source for now,
so there would be always the same count of corners.
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index abd78ffe148..e178beaaa50 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -692,7 +692,7 @@ static void layerInterp_mdisps(void **sources, float *UNUSED(weights), s = sources[0]; dst_corners = multires_mdisp_corners(d); - src_corners = multires_mdisp_corners(d); + src_corners = multires_mdisp_corners(s); /* XXX: For now, some restrictions on the input should be implemented to allow quad<->tris face conversion */ |