Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-05-03 22:06:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-05-03 22:09:05 +0300
commit606d1f2b6e35025fc20205ce6a0cc6bcf4724a22 (patch)
treeb9e0a48ffd340579fc176bc29c4ba5b5cbdfe8f9
parent51a977a86f6f37a403caad6b9f91853baf400a0a (diff)
Fix projection paint initialization failing
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index 901f24844e4..b667bb59922 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -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 || !(ps->ob->lay & ps->v3d->lay)) {
+ if (ps->ob == NULL || !(ob->base_flag & BASE_VISIBLED)) {
ps_handle->ps_views_tot = i + 1;
goto fail;
}