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-01-08 16:10:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-08 16:10:53 +0400
commit1524b1f11db98faf92441360a9a22a9d6a20babe (patch)
treeb32b625b2eb69548ddc0bcbecec6a16a0402c90c /release/scripts/startup/bl_operators/uvcalc_follow_active.py
parent1dd8851244a3c88ba315c57549a2c3c46786aad0 (diff)
fix own error in recent update to follow active quads [#33783] Unwrap with Follow Active Quad fails
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_follow_active.py')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_follow_active.py5
1 files changed, 5 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 d870ef963ea..7b6013f3044 100644
--- a/release/scripts/startup/bl_operators/uvcalc_follow_active.py
+++ b/release/scripts/startup/bl_operators/uvcalc_follow_active.py
@@ -49,8 +49,13 @@ def extend(obj, operator, EXTEND_MODE):
# 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):