diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-12 22:05:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-12 22:05:21 +0400 |
commit | 700e799ef5efd253a8f7c92e09d94c4272a3c73f (patch) | |
tree | 51017cbce4856cb9882db00fb3e9a089884397e7 /release | |
parent | c701082a928b4390f1fb910f2eb7520b45b4cdf1 (diff) |
Fix T37692: Follow active quads failed on unselected-active-face
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/uvcalc_follow_active.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_follow_active.py b/release/scripts/startup/bl_operators/uvcalc_follow_active.py index ee3ae2878dc..d1ac9e0b586 100644 --- a/release/scripts/startup/bl_operators/uvcalc_follow_active.py +++ b/release/scripts/startup/bl_operators/uvcalc_follow_active.py @@ -41,6 +41,9 @@ def extend(obj, operator, EXTEND_MODE): if f_act is None: operator.report({'ERROR'}, "No active face") return + if not f_act.select: + operator.report({'ERROR'}, "No active face is not selected") + return elif len(f_act.verts) != 4: operator.report({'ERROR'}, "Active face must be a quad") return |