summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
Diffstat (limited to 'world')
-rw-r--r--world/src/mesh.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/world/src/mesh.rs b/world/src/mesh.rs
index 7d17cc9..c621753 100644
--- a/world/src/mesh.rs
+++ b/world/src/mesh.rs
@@ -314,6 +314,9 @@ pub fn import_mesh(
att
});
let g_refractive_index = p.material().ior();
+ if let Some(i) = g_refractive_index {
+ info!("refractive index is {i}");
+ }
let g_thickness = p.material().volume().map(|v| v.thickness_factor());
let name = mesh.name().map(|e| e.to_owned());