Blender Git Commit Log

Git Commits -> Revision 28df010

Revision 28df010 by Jacques Lucke (master)
December 25, 2021, 10:14 (GMT)
Fix T94362: GPUMaterialTexture references freed ImageUser

The issue was caused by rB7e712b2d6a0d257d272ed35622b41d06274af8df
and the fact that `GPUMaterialTexture` contains an `ImageUser *` which
references the `ImageUser` on e.g. `NodeTexImage`.

Since the node tree update refactor, it is possible that the node tree changes
without changing the actual material. Therefore, either the renderer should
check if the node tree has changed or it should not store pointers to data in
node storage. The latter approach is implemented in this patch.

Differential Revision: https://developer.blender.org/D13663

Commit Details:

Full Hash: 28df0107d4a83dd7ce62781bef821092db1e0835
Parent Commit: f1e0411
Lines Changed: +11, -5

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