Fix for SeqCache hash ignoring multi-view

Thanks to @chadf for finding
This commit is contained in:
Campbell Barton 2015-08-09 13:46:18 +10:00
parent 115c867190
commit f4ba4c6826
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ static unsigned int seq_hash_render_data(const SeqRenderData *a)
rval ^= ((intptr_t) a->bmain) << 6;
rval ^= ((intptr_t) a->scene) << 6;
rval ^= (int)(a->motion_blur_shutter * 100.0f) << 10;
rval ^= a->motion_blur_samples << 24;
rval ^= ((a->scene->r.views_format * 2) + a->view_id) << 32;
rval ^= a->motion_blur_samples << 16;
rval ^= ((a->scene->r.views_format * 2) + a->view_id) << 24;
return rval;
}