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:
authorCampbell Barton <ideasman42@gmail.com>2021-06-09 18:55:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-09 19:22:46 +0300
commitcb0cab48efda03eb4f7f4a3c097be09212fa4fa0 (patch)
treea2f0e958e83aaf1a6f04560b08816274eebb8053 /source/blender/blenkernel/intern/customdata.c
parent029fb002ddac05b2ce05f7f199068e4fdd0b0813 (diff)
Cleanup: redundant/unused assignments
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r--source/blender/blenkernel/intern/customdata.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c
index d8d9675b42b..710dfdaf137 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -1226,8 +1226,6 @@ static void layerInterp_mvert_skin(const void **sources,
int count,
void *dest)
{
- MVertSkin *vs_dst = dest;
-
float radius[3];
zero_v3(radius);
@@ -1239,7 +1237,7 @@ static void layerInterp_mvert_skin(const void **sources,
}
/* Delay writing to the destination in case dest is in sources. */
- vs_dst = dest;
+ MVertSkin *vs_dst = dest;
copy_v3_v3(vs_dst->radius, radius);
vs_dst->flag &= ~MVERT_SKIN_ROOT;
}