Fix multi-view (single camera) selection

This commit is contained in:
Dalai Felinto 2017-05-10 16:00:42 +02:00
parent a438750cad
commit 7902e3f1c8
1 changed files with 2 additions and 4 deletions

View File

@ -1171,8 +1171,7 @@ int view3d_opengl_select(
G.f |= G_PICKSEL;
view3d_winmatrix_set(ar, v3d, &rect);
mul_m4_m4m4(vc->rv3d->persmat, vc->rv3d->winmat, vc->rv3d->viewmat);
ED_view3d_draw_setup_view(NULL, scene, ar, v3d, NULL, NULL, &rect);
if (v3d->drawtype > OB_WIRE) {
v3d->zbuf = true;
@ -1216,8 +1215,7 @@ int view3d_opengl_select(
}
G.f &= ~G_PICKSEL;
view3d_winmatrix_set(ar, v3d, NULL);
mul_m4_m4m4(vc->rv3d->persmat, vc->rv3d->winmat, vc->rv3d->viewmat);
ED_view3d_draw_setup_view(NULL, scene, ar, v3d, NULL, NULL, NULL);
if (v3d->drawtype > OB_WIRE) {
v3d->zbuf = 0;