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>2012-02-08 13:02:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-08 13:02:10 +0400
commit76ccd3d5ed19b3955b4f02651a5f3a65fc43d1e3 (patch)
treeecd36af3aa5c05a28454e8d437d9fc60459a6bbf /source/blender/blenkernel/intern/subsurf_ccg.c
parent9b57b2d9dc8d2464e1109e09a0a68625cabe878a (diff)
Code Cleanup:
macro for copying polygon settings
Diffstat (limited to 'source/blender/blenkernel/intern/subsurf_ccg.c')
-rw-r--r--source/blender/blenkernel/intern/subsurf_ccg.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c
index cd62a480e58..47e5c0d891d 100644
--- a/source/blender/blenkernel/intern/subsurf_ccg.c
+++ b/source/blender/blenkernel/intern/subsurf_ccg.c
@@ -2402,12 +2402,7 @@ static void ccg_loops_to_corners(CustomData *fdata, CustomData *ldata,
texface = CustomData_get_n(fdata, CD_MTFACE, findex, i);
texpoly = CustomData_get_n(pdata, CD_MTEXPOLY, polyindex, i);
- texface->tpage = texpoly->tpage;
- texface->flag = texpoly->flag;
- texface->transp = texpoly->transp;
- texface->mode = texpoly->mode;
- texface->tile = texpoly->tile;
- texface->unwrap = texpoly->unwrap;
+ ME_MTEXFACE_CPY(texface, texpoly);
mloopuv = CustomData_get_n(ldata, CD_MLOOPUV, loopstart, i);
for (j=0; j<4; j++, mloopuv++) {