We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9576e commit bc48fbcCopy full SHA for bc48fbc
include/slg/bsdf/bsdf.h
@@ -117,7 +117,7 @@ class BSDF {
117
bool IsShadowCatcherOnlyInfiniteLights() const { return material->IsShadowCatcherOnlyInfiniteLights(); }
118
bool IsCameraInvisible() const;
119
bool IsVolume() const {
120
- auto ptr = dynamic_observer_cast<VolumeConstPtr>(material);
+ auto ptr = dynamic_observer_cast<const Volume>(material);
121
return bool(ptr);
122
}
123
bool IsPhotonGIEnabled() const { return material->IsPhotonGIEnabled(); }
0 commit comments