Skip to content

Commit

Permalink
Add missing parameter to StringPrintf in SubsurfaceMaterial::ToString()
Browse files Browse the repository at this point in the history
Fixes #358.
  • Loading branch information
mmp committed Jun 25, 2023
1 parent f6dc67f commit 7e97c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pbrt/materials.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ std::string SubsurfaceMaterial::ToString() const {
return StringPrintf("[ SubsurfaceMaterial displacement: %s normalMap: %s scale: %f "
"sigma_a: %s sigma_s: %s reflectance: %s mfp: %s uRoughness: %s "
"vRoughness: %s scale: %f eta: %f remapRoughness: %s ]",
displacement, scale, sigma_a, sigma_s, reflectance, mfp,
displacement, normalMap, scale, sigma_a, sigma_s, reflectance, mfp,
uRoughness, vRoughness, scale, eta, remapRoughness);
}

Expand Down

0 comments on commit 7e97c20

Please sign in to comment.