Blender Git Loki

Git Commits -> Revision c502114

Revision c502114 by Sergey Sharybin (master)
February 6, 2016, 19:43 (GMT)
Cycles: Solve issues with auto-disabled MIS

There were two issues:

1. Memory leak: std:;erase does not call delete on the
pointer (which is actually a good idea),

2. After MIS was disabled in viewport render there was
no way to bring MIS back.

Now instead of removing light from the scene data we
kind of tagging it for an ignore. Possible cleanup
would be to add Light::is_enabled and use that instead
of passing weird and wonderful function arguments.

Commit Details:

Full Hash: c502114ee11dcd2e737452944b652205517b5682
Parent Commit: f25f7c8
Lines Changed: +68, -44

2 Modified Paths:

/intern/cycles/render/light.cpp (+57, -42) (Diff)
/intern/cycles/render/light.h (+11, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021