Skip to content

Commit

Permalink
light serialization fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrDIMAS committed Aug 18, 2021
1 parent c6af809 commit bf030a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene/light/mod.rs
Expand Up @@ -188,7 +188,7 @@ impl Visit for BaseLight {
self.cast_shadows.visit("CastShadows", visitor)?;
self.scatter.visit("ScatterFactor", visitor)?;
self.scatter_enabled.visit("ScatterEnabled", visitor)?;
self.intensity.visit("Intensity", visitor)?;
let _ = self.intensity.visit("Intensity", visitor); // Backward compatibility.

visitor.leave_region()
}
Expand Down

0 comments on commit bf030a0

Please sign in to comment.