Blender Git Commit Log

Git Commits -> Revision 5e7fb77

Revision 5e7fb77 by Campbell Barton (master)
June 1, 2021, 03:25 (GMT)
BMesh: remove checks for tessellating 2 sided faces

2 sided faces aren't supported and will cause problems in many areas
of Blender's code.

Removing (implied) support for faces with fewer than 3 sides
means the total number of triangles is known ahead of time.

This simplifies adding support for multi-threading and partial updates
to an existing tessellation - as the face and loop indices can be used
to access the range of triangles associated with a face.

Also correct outdated comments.

Commit Details:

Full Hash: 5e7fb77dc4d27df74a8e839b8a4eb7a1fe43475b
Parent Commit: f8ce744
Lines Changed: +21, -36

7 Modified Paths:

/source/blender/blenkernel/intern/editmesh.c (+2, -1) (Diff)
/source/blender/bmesh/intern/bmesh_polygon.c (+9, -19) (Diff)
/source/blender/bmesh/intern/bmesh_polygon.h (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_boolean.cc (+2, -3) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+3, -4) (Diff)
/source/blender/python/mathutils/mathutils_bvhtree.c (+1, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021