From a470b03c484963d27ce582f4ca9db4c707bedf84 Mon Sep 17 00:00:00 2001 From: Zheng Shaokun Date: Sat, 13 Jan 2024 03:19:19 +0800 Subject: [PATCH] remove debug code --- src/base/geometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/geometry.cpp b/src/base/geometry.cpp index 2ef0cd85..03f020a9 100644 --- a/src/base/geometry.cpp +++ b/src/base/geometry.cpp @@ -127,8 +127,8 @@ void Geometry::_process_shape( } // emplace instance here since we need to know the opaque property - _accel.emplace_back(*mesh.resource, object_to_world, visible, false); - //(properties & Shape::property_flag_maybe_non_opaque) == 0u); + _accel.emplace_back(*mesh.resource, object_to_world, visible, + (properties & Shape::property_flag_maybe_non_opaque) == 0u); auto light_tag = 0u; auto medium_tag = 0u;