Remove visibility check for project paint

This is such a corner case, and currently there is no way to paint on a
hidden object, removing.
This commit is contained in:
Campbell Barton 2017-05-04 19:58:48 +10:00
parent e778be9e20
commit f3550242ed
1 changed files with 1 additions and 1 deletions

View File

@ -5205,7 +5205,7 @@ void *paint_proj_new_stroke(bContext *C, Object *ob, const float mouse[2], int m
project_state_init(C, ob, ps, mode);
if (ps->ob == NULL || !(ob->base_flag & BASE_VISIBLED)) {
if (ps->ob == NULL) {
ps_handle->ps_views_tot = i + 1;
goto fail;
}