[Bf-blender-cvs] [700e799] master: Fix T37692: Follow active quads failed on unselected-active-face

Campbell Barton noreply at git.blender.org
Thu Dec 12 19:06:12 CET 2013


Commit: 700e799ef5efd253a8f7c92e09d94c4272a3c73f
Author: Campbell Barton
Date:   Fri Dec 13 05:05:21 2013 +1100
http://developer.blender.org/rB700e799ef5efd253a8f7c92e09d94c4272a3c73f

Fix T37692: Follow active quads failed on unselected-active-face

===================================================================

M	release/scripts/startup/bl_operators/uvcalc_follow_active.py

===================================================================

diff --git a/release/scripts/startup/bl_operators/uvcalc_follow_active.py b/release/scripts/startup/bl_operators/uvcalc_follow_active.py
index ee3ae28..d1ac9e0 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




More information about the Bf-blender-cvs mailing list