Blender Git Commit Log

Git Commits -> Revision 3de3889

April 22, 2021, 15:35 (GMT)
Fix: geometry nodes logs incorrect preview data

Under some circumstances, modifiers are evaluated more than once.
One time to compute the actual output geometry and another time
with `MOD_APPLY_ORCO`. This design probably has to be revisited
at some point in the context of geometry nodes. However, that would
be much more involved than a bug fix.

The issue was that during the second evaluation, the node tree is
evaluated based on a slightly different input geometry. The data
generated during the second evaluation overwrote the cached
data from the first evaluation, resulting in incorrect data that is
shown in the spreadsheet.

The fix for now is to simply not log any data in the second evaluation.

Commit Details:

Full Hash: 3de388960d1fb5f3e5c3f6ae806cba968d5fc887
Parent Commit: 61b04c3
Committed By: Falk David
Lines Changed: +13, -2

1 Modified Path:

/source/blender/modifiers/intern/MOD_nodes.cc (+13, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021