Blender Git Commit Log

Git Commits -> Revision ffcc059

September 1, 2021, 15:01 (GMT)
adaptive_cloth: fix: Mesh: collapse edge: n2 not updated for v1

A simple solution that is extremely difficult to debug. This
particular part of the collapse edge function is run rarely and to
make this particular bug even harder to find is that only a subsequent
operation will show any signs of a problem.

One way to trigger this bug is to static remesh Suzanne (Blender
monkey) at 0.005 or lower minimum size. This leads to a crash due to a
bad optional access of a node.

The vert refers to the node but the node doesn't refer to the vert. So
once this sort of situation is created, when that vert's nodes need to
be used, it leads to a bad optional access.

Such a simple fix :)

Commit Details:

Full Hash: ffcc059abf65e8d3863371f5a6e38db51a586be4
Parent Commit: a5c0191
Lines Changed: +2, -0

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021