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-04 12:58:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-05-04 12:59:57 +0300
commitf3550242ed3d64a3cb81a698073cf94cf1b7326b (patch)
tree33f00c4a2f410e6d6049417a6c90787b94cb1dea /source/blender/editors/sculpt_paint
parente778be9e203e71d123e3bdf7418f67861199c899 (diff)
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.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-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 b667bb59922..7cabd1c3b10 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 || !(ob->base_flag & BASE_VISIBLED)) {
+ if (ps->ob == NULL) {
ps_handle->ps_views_tot = i + 1;
goto fail;
}