This commit is contained in:
Campbell Barton 2015-07-29 20:18:22 +10:00
parent 90655d06d4
commit 18c0a15e1e
2 changed files with 1 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;