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:
parent
e778be9e20
commit
f3550242ed
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue