Blender Git Commit Log

Git Commits -> Revision fdcf30d

January 13, 2021, 10:38 (GMT)
Fix T83300: constant scene refreshing in Cycles with empty volumes

This infinite loop is caused by a conflict between the volume mesh
creation which unintentionally clears the shaders before early exiting
when no grid is found, and the Blender exporter which adds back the
shaders causing us to reupdate as the shaders changed.

To fix this simply preserve the shaders on the Volume node.

(Backported bugfix with additional changes to make it work in 2.91)

Commit Details:

Full Hash: fdcf30d01d60d1c31ebbf9f23d96d24b9bde3d24
Parent Commit: b50598b
Committed By: Brecht Van Lommel
Lines Changed: +24, -17

8 Modified Paths:

/intern/cycles/render/geometry.cpp (+4, -2) (Diff)
/intern/cycles/render/geometry.h (+1, -1) (Diff)
/intern/cycles/render/hair.cpp (+2, -2) (Diff)
/intern/cycles/render/hair.h (+1, -1) (Diff)
/intern/cycles/render/mesh.cpp (+4, -4) (Diff)
/intern/cycles/render/mesh.h (+4, -2) (Diff)
/intern/cycles/render/volume.cpp (+7, -4) (Diff)
/intern/cycles/render/volume.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021