diff --git a/include/geode/io/image/detail/vtk_output.hpp b/include/geode/io/image/detail/vtk_output.hpp index 244cfca..72c42e3 100644 --- a/include/geode/io/image/detail/vtk_output.hpp +++ b/include/geode/io/image/detail/vtk_output.hpp @@ -86,7 +86,8 @@ namespace geode for( const auto& id : manager.attribute_ids() ) { const auto attribute = manager.find_generic_attribute( id ); - if( !attribute || !attribute->is_genericable() ) + if( !attribute || !attribute->is_genericable() + || !attribute->properties().transferable ) { continue; } diff --git a/tests/model/test-vtm.cpp b/tests/model/test-vtm.cpp index df1cd93..2a64b7f 100644 --- a/tests/model/test-vtm.cpp +++ b/tests/model/test-vtm.cpp @@ -51,7 +51,6 @@ int main() absl::StrCat( geode::DATA_PATH, "mss_cut_section.og_sctn" ) ); const auto filename2 = absl::StrCat( "mss_cut_section.vtm" ); geode::save_section( section, filename2 ); - geode::Logger::info( "TEST SUCCESS" ); return 0; }