Blender Git Commit Log

Git Commits -> Revision 36a573c

Revision 36a573c by Sergey Sharybin (cycles-x)
September 9, 2021, 10:30 (GMT)
Cycles X: Don't cache Pass info as a field

Avoiding such caching makes the Pass to fit generic nodes much
better: no need to worry about maintaining the information in
sync with the socket values.

The PassInfo construction is cheap, so the change should not
cause any time penalties.

No functional changes, just making Pass more re-usable outside
of Scene/Film for an upcoming development.

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

Commit Details:

Full Hash: 36a573c09df80522b7906b94d97101fa1511944f
Parent Commit: f5b2b50
Lines Changed: +5, -9

3 Modified Paths:

/intern/cycles/render/film.cpp (+1, -3) (Diff)
/intern/cycles/render/pass.cpp (+3, -3) (Diff)
/intern/cycles/render/pass.h (+1, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021