fix for crash with selecting camera bundles.
This commit is contained in:
parent
35a274711e
commit
3140cd993d
@ -1744,7 +1744,9 @@ static void draw_viewport_reconstruction(Scene *scene, Base *base, View3D *v3d,
|
||||
glDisable(GL_COLOR_MATERIAL);
|
||||
glDisable(GL_LIGHTING);
|
||||
|
||||
glColor3ubv(ob_wire_col);
|
||||
if ((flag & DRAW_CONSTCOLOR) == 0) {
|
||||
glColor3ubv(ob_wire_col);
|
||||
}
|
||||
|
||||
if (flag & DRAW_PICKING)
|
||||
glLoadName(base->selcol);
|
||||
|
Loading…
Reference in New Issue
Block a user