diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-27 14:10:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-27 14:47:40 +0300 |
commit | 15676bcc85d8ef4c4083643e3ff8b13661de52de (patch) | |
tree | 0069d310c9110d65f14e70d1f5bec2244545f0c0 /source/blender/blenkernel/intern/dynamicpaint.c | |
parent | 76beb7b7d4d3e8777b3cbf9eb0f85f991dd147bc (diff) |
Error in looptri update, was checking wrong layer-type
Diffstat (limited to 'source/blender/blenkernel/intern/dynamicpaint.c')
-rw-r--r-- | source/blender/blenkernel/intern/dynamicpaint.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/dynamicpaint.c b/source/blender/blenkernel/intern/dynamicpaint.c index 625675a95a6..880241a7cc7 100644 --- a/source/blender/blenkernel/intern/dynamicpaint.c +++ b/source/blender/blenkernel/intern/dynamicpaint.c @@ -1562,7 +1562,6 @@ static void dynamicPaint_setInitialColor(const Scene *scene, DynamicPaintSurface const MLoopTri *mlooptri = dm->getLoopTriArray(dm); ImgSeqFormatData *f_data = (ImgSeqFormatData *)sData->format_data; int samples = (surface->flags & MOD_DPAINT_ANTIALIAS) ? 5 : 1; - // should this be replaced by CD_MLOOPCOL? MLoopCol *col = CustomData_get_layer_named(&dm->loopData, CD_MLOOPCOL, surface->init_layername); if (!col) return; |