diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/drawmesh.c | 2 | ||||
-rw-r--r-- | source/blender/render/intern/source/render_result.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c index 6085f0c4483..d806dfa015a 100644 --- a/source/blender/editors/space_view3d/drawmesh.c +++ b/source/blender/editors/space_view3d/drawmesh.c @@ -662,7 +662,7 @@ static void update_tface_color_layer(DerivedMesh *dm, bool use_mcol) copy_mode = COPY_PREV; } else if (ma && (ma->shade_flag & MA_OBCOLOR)) { - int loop_index = mp->loopstart;; + int loop_index = mp->loopstart; for (j = 0; j < mp->totloop; j++, loop_index++) { copy_v3_v3_char(&finalCol[loop_index].r, (char *)Gtexdraw.obcol); } diff --git a/source/blender/render/intern/source/render_result.c b/source/blender/render/intern/source/render_result.c index a03bf3c4925..27fc412e1cd 100644 --- a/source/blender/render/intern/source/render_result.c +++ b/source/blender/render/intern/source/render_result.c @@ -905,7 +905,6 @@ RenderResult *render_result_new_from_exr(void *exrhandle, const char *colorspace IMB_exr_multilayer_convert(exrhandle, rr, ml_addview_cb, ml_addlayer_cb, ml_addpass_cb); for (rl = rr->layers.first; rl; rl = rl->next) { - int c=0; rl->rectx = rectx; rl->recty = recty; |