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>2013-12-12 22:05:21 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-12 22:05:21 +0400
commit700e799ef5efd253a8f7c92e09d94c4272a3c73f (patch)
tree51017cbce4856cb9882db00fb3e9a089884397e7 /release/scripts/startup/bl_operators/uvcalc_follow_active.py
parentc701082a928b4390f1fb910f2eb7520b45b4cdf1 (diff)
Fix T37692: Follow active quads failed on unselected-active-face
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_follow_active.py')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_follow_active.py3
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