Commit: 18875f6aa3a2cab1c82e23b799bb0a831e18b4df Author: Philipp Oeser Date: Fri Apr 1 14:20:22 2016 +0200 Branches: blender-v2.77-release https://developer.blender.org/rB18875f6aa3a2cab1c82e23b799bb0a831e18b4df
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! =================================================================== M source/blender/editors/sculpt_paint/sculpt_uv.c =================================================================== diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c index 8ed654c..fd2a0b1 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; } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs