diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-06-04 12:57:33 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-06-10 12:02:09 +0300 |
commit | df50104e1c75e73d93113f71b9c1226738a35169 (patch) | |
tree | f711fd718a3d48631a85150718dab21d9bc609eb | |
parent | fc8a7a44b200e37066a8753c514564c674eace30 (diff) |
Fix T77068: UV Proportional Edit "Connected Only" option affects UV
clipping (even if the proportional edit itself is disabled)
Checking T_PROP_EDIT_ALL returns true for _any_ of the options, so just
check for T_PROP_EDIT.
Note: this might expand to other similar checks (e.g. header text)
Maniphest Tasks: T77068
Differential Revision: https://developer.blender.org/D7927
-rw-r--r-- | source/blender/editors/transform/transform_mode_resize.c | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_mode_translate.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_mode_resize.c b/source/blender/editors/transform/transform_mode_resize.c index d919d5c889d..ebce32a598e 100644 --- a/source/blender/editors/transform/transform_mode_resize.c +++ b/source/blender/editors/transform/transform_mode_resize.c @@ -119,7 +119,7 @@ static void applyResize(TransInfo *t, const int UNUSED(mval[2])) /* vertices in the radius of the brush end */ /* outside the clipping area */ /* XXX HACK - dg */ - if (t->flag & T_PROP_EDIT_ALL) { + if (t->flag & T_PROP_EDIT) { clipUVData(t); } } diff --git a/source/blender/editors/transform/transform_mode_translate.c b/source/blender/editors/transform/transform_mode_translate.c index 96820ca6385..60caa257a40 100644 --- a/source/blender/editors/transform/transform_mode_translate.c +++ b/source/blender/editors/transform/transform_mode_translate.c @@ -352,7 +352,7 @@ static void applyTranslation(TransInfo *t, const int UNUSED(mval[2])) /* vertices in the radius of the brush end */ /* outside the clipping area */ /* XXX HACK - dg */ - if (t->flag & T_PROP_EDIT_ALL) { + if (t->flag & T_PROP_EDIT) { clipUVData(t); } } |