Blender Git Loki
Git Commits -> Revision 60d6333
Revision 60d6333 by Kévin Dietrich (master) August 17, 2021, 19:38 (GMT) |
Fix T82336: Cycles standard attributes missing in displacement shaders Standard attributes are not added to the attributes requests when shaders only have displacement. This is because nodes are only considering the case when the surface socket is connected. To support this, added `Shader.has_surface_link()` which checks for both cases (`has_surface` and `has_displacement`) and replaces all checks on `Shader.has_surface`. Reviewed By: brecht Differential Revision: https://developer.blender.org/D12240 |
Commit Details:
Full Hash: 60d6333b80472ca9eb2e1ab659da0fa2572d0a8b
Parent Commit: 88dc274
Lines Changed: +20, -12