Files
test/source/blender/blenkernel
Jacques Lucke c29857fffa Fix #113532: geometry nodes is always reevaluated after undo
The issue was that the undo system detected that node trees have been changed
even though they have not. This is because the memory dump of the node tree
changed after unrelated changes. The root issue was that
`bNodeTreeInterface::write` also wrote the struct, and the pointer of the
`bNodeTreeInterface` itself. While this pointer is generally stable, it is not
during file-write, because when IDs are written, a shallow copy is created
first (see `BLO_write_init_id_buffer_from_id`). The temporary buffer for this
shallow copy is allocated on the heap, so its pointer may change over time.

The fix is to simply not write the `bNodeTreeInterface` separately, since it's
already embedded in `bNodeTree`.

Pull Request: https://projects.blender.org/blender/blender/pulls/114322
2023-10-31 13:46:31 +01:00
..
2023-08-30 22:36:36 +02:00
2023-09-05 11:04:27 +10:00
2023-08-25 09:40:42 +10:00
2023-07-04 17:03:02 +02:00
2023-07-24 22:06:55 +02:00
2023-08-25 09:40:42 +10:00
2023-09-05 11:04:27 +10:00
2023-09-27 13:03:29 +10:00
2023-08-18 08:56:12 +10:00
2023-08-30 22:36:36 +02:00