[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53653] trunk/blender/release/scripts/ startup/bl_operators/uvcalc_follow_active.py: fix own error in recent update to follow active quads [#33783] Unwrap with Follow Active Quad fails

Campbell Barton ideasman42 at gmail.com
Tue Jan 8 13:11:00 CET 2013


Revision: 53653
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53653
Author:   campbellbarton
Date:     2013-01-08 12:10:53 +0000 (Tue, 08 Jan 2013)
Log Message:
-----------
fix own error in recent update to follow active quads [#33783] Unwrap with Follow Active Quad fails

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_operators/uvcalc_follow_active.py

Modified: trunk/blender/release/scripts/startup/bl_operators/uvcalc_follow_active.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/uvcalc_follow_active.py	2013-01-08 08:39:28 UTC (rev 53652)
+++ trunk/blender/release/scripts/startup/bl_operators/uvcalc_follow_active.py	2013-01-08 12:10:53 UTC (rev 53653)
@@ -49,8 +49,13 @@
 
     # our own local walker
     def walk_face_init(faces, f_act):
+        # first tag all faces True (so we dont uvmap them)
+        for f in bm.faces:
+            f.tag = True
+        # then tag faces arg False
         for f in faces:
             f.tag = False
+        # tag the active face True since we begin there
         f_act.tag = True
     
     def walk_face(f):




More information about the Bf-blender-cvs mailing list