File tree 3 files changed +13
-1
lines changed
src/slg/engines/caches/photongi
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 71
71
* Fixed a problem with caustic cache size when both PhotonGI caches were
72
72
enabled and automatic stop condition for indirect cache was used
73
73
* PhotonGI Metropolis will now focus on caustic cache when indirect is done (and vice versa)
74
+ * Fixed the access to an uninitialized variable when using PhotonGI caustic cache alone
74
75
75
76
Check https://wiki.luxcorerender.org/LuxCoreRender_Release_Notes for the full list
76
77
of release notes.
Original file line number Diff line number Diff line change @@ -62,7 +62,10 @@ bool PhotonGICache::IsPhotonGIEnabled(const BSDF &bsdf) const {
62
62
const BSDFEvent eventTypes = bsdf.GetEventTypes ();
63
63
64
64
if ((eventTypes & TRANSMIT) || (eventTypes & SPECULAR) ||
65
- ((eventTypes & GLOSSY) && (bsdf.GetGlossiness () < params.indirect .glossinessUsageThreshold )))
65
+ // Note: params.indirect.glossinessUsageThreshold is not initialized
66
+ // if indirect cache is not enabled
67
+ ((eventTypes & GLOSSY) && (params.indirect .enabled ) &&
68
+ (bsdf.GetGlossiness () < params.indirect .glossinessUsageThreshold )))
66
69
return false ;
67
70
else
68
71
return bsdf.IsPhotonGIEnabled ();
Original file line number Diff line number Diff line change 148
148
...
149
149
}
150
150
151
+ {
152
+ libamdocl-orca64_cond1
153
+ Memcheck:Cond
154
+ ...
155
+ obj:*/libamdocl-orca64.so
156
+ ...
157
+ }
158
+
151
159
################################################################################
152
160
# AMD fglrx
153
161
################################################################################
You can’t perform that action at this time.
0 commit comments