Blender Git Loki
Git Commits -> Revision 319de79
Revision 319de79 by Jacques Lucke (master) October 26, 2021, 18:52 (GMT) |
Fix T92508: cache invalidation bug in Set Position node The call to `attribute_try_get_for_output` does some cache invalidation internally. Under some circumstances the call to `position_evaluator.evaluate()` recomputed the caches (e.g. when the Normal node was used, the evaluated handle positions cache on curves were updated). After the positions have been updated in the Set Position node, the cache was not invalidated again., leading to incorrect rendering. The proper solution will be to do the cache invalidation in `OutputAttribute.save()` again. That is a bit more involved though. For now just reorder the code a bit to do the cache invalidation after the field has been computed. There is a follow up task: T92509. |
Commit Details:
Full Hash: 319de793d79865603b3cdccec5933d2152e43bb3
Parent Commit: 35aa3bf
Lines Changed: +4, -4
1 Modified Path:
/source/blender/nodes/geometry/nodes/node_geo_set_position.cc (+4, -4) (Diff)