Blender Git Loki
Git Commits -> Revision b508390
June 26, 2017, 15:53 (GMT) |
Stop object shaders from being updated when changing lamp properties Object shaders no longer depend on lamp data at compile time, thus they don't need to be invalidated when lamps change. Disabling shader recompilation allows fast viewport updates when changing lamp settings. Note that even though shaders for lamps are currently not being used, `lamp_changed` is still freeing the lamp shaders, as at some point we might want to use shaders for lamps... |
Commit Details:
Full Hash: b50839038d6b3d20e52896cadff5076b94cf3705
Parent Commit: bafb904
Lines Changed: +0, -5
1 Modified Path:
/source/blender/editors/render/render_update.c (+0, -5) (Diff)