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-01-06 04:12:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-06 04:12:24 +0400
commitded0af482b82cc31ed10c2d03e5f07aedb299c50 (patch)
tree53296785dc6aa94878b8723e3c31033ee70536d1 /source/blender/blenkernel/intern/dynamicpaint.c
parent2b2c1007f6a960274f3ddbcfa0ac2849e65894c9 (diff)
rename CDDM_calc_normals() --> CDDM_calc_normals_mapping
Diffstat (limited to 'source/blender/blenkernel/intern/dynamicpaint.c')
-rw-r--r--source/blender/blenkernel/intern/dynamicpaint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/dynamicpaint.c b/source/blender/blenkernel/intern/dynamicpaint.c
index 294b4e4bde4..070f091b10a 100644
--- a/source/blender/blenkernel/intern/dynamicpaint.c
+++ b/source/blender/blenkernel/intern/dynamicpaint.c
@@ -1534,7 +1534,7 @@ static void dynamicPaint_applySurfaceDisplace(DynamicPaintSurface *surface, Deri
else return;
if (update_normals)
- CDDM_calc_normals(result);
+ CDDM_calc_normals_mapping(result);
}
/*
@@ -1742,7 +1742,7 @@ static struct DerivedMesh *dynamicPaint_Modifier_apply(DynamicPaintModifierData
normal_short_to_float_v3(normal, mvert[i].no);
madd_v3_v3fl(mvert[i].co, normal, wPoint[i].height);
}
- CDDM_calc_normals(result);
+ CDDM_calc_normals_mapping(result);
}
/* displace */