diff --git a/src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp b/src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp index 90f8a70a67..9b96bbcdcb 100644 --- a/src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp +++ b/src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp @@ -64,6 +64,7 @@ SPPMPhotonMap::SPPMPhotonMap(SPPMPhotonVector& photons) Statistics statistics; statistics.insert_time("build time", builder.get_build_time()); + statistics.insert_size("size", photons.get_memory_size()); statistics.merge(knn::TreeStatistics(*this)); RENDERER_LOG_DEBUG("%s",