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:
authorPhilipp Oeser <noreply@developer.blender.org>2016-04-01 15:20:22 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-04-05 11:36:12 +0300
commit18875f6aa3a2cab1c82e23b799bb0a831e18b4df (patch)
tree995bdf332162f61c408fa27c32f65139d300dbcb
parentf590b2f89f53f458c166f2de31f5881efacc4fe7 (diff)
Fix T48013: UV Sculpt Brush Does not appear in UV window - but does show up in uv panels (t, n)
Epic fail in recent rB2c3985 :/ To be backported to 2.77a!
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_uv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c
index 8ed654c7042..fd2a0b15cb9 100644
--- a/source/blender/editors/sculpt_paint/sculpt_uv.c
+++ b/source/blender/editors/sculpt_paint/sculpt_uv.c
@@ -177,7 +177,7 @@ static int uv_sculpt_brush_poll_do(bContext *C, const bool check_region)
if (ret) {
ARegion *ar = CTX_wm_region(C);
- if ((!toolsettings->use_uv_sculpt) || (check_region && ar && (ar->regiontype == RGN_TYPE_WINDOW))) {
+ if ((!toolsettings->use_uv_sculpt) || (check_region && ar && (ar->regiontype != RGN_TYPE_WINDOW))) {
ret = 0;
}
}