[Bf-blender-cvs] [3c5bf7d1dc1] master: PyAPI: update for change in tessellate_polygon

Campbell Barton noreply at git.blender.org
Thu Oct 10 02:32:14 CEST 2019


Commit: 3c5bf7d1dc1ee8fcb8d68327e94a442e69b0ef5a
Author: Campbell Barton
Date:   Thu Oct 10 11:30:50 2019 +1100
Branches: master
https://developer.blender.org/rB3c5bf7d1dc1ee8fcb8d68327e94a442e69b0ef5a

PyAPI: update for change in tessellate_polygon

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

M	release/scripts/modules/bpy_extras/mesh_utils.py

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

diff --git a/release/scripts/modules/bpy_extras/mesh_utils.py b/release/scripts/modules/bpy_extras/mesh_utils.py
index 7c5e6264c7a..f70f1eacead 100644
--- a/release/scripts/modules/bpy_extras/mesh_utils.py
+++ b/release/scripts/modules/bpy_extras/mesh_utils.py
@@ -403,7 +403,7 @@ def ngon_tessellate(from_data, indices, fix_loops=True, debug_print=True):
         # draw_loops(loop_list)
         #raise Exception("done loop")
         # map to original indices
-        fill = [[vert_map[i] for i in reversed(f)] for f in fill]
+        fill = [[vert_map[i] for i in f] for f in fill]
 
     if not fill:
         if debug_print:



More information about the Bf-blender-cvs mailing list