From ccbb185d3916075ba62e1bc08eca7c2bee772472 Mon Sep 17 00:00:00 2001 From: Michael Kowalski Date: Mon, 14 Aug 2023 15:51:00 -0400 Subject: [PATCH] USD import: improve unsupported type warning. Now including the USD type name in the warning for unsupported attribute types. --- source/blender/io/usd/intern/usd_reader_mesh.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/io/usd/intern/usd_reader_mesh.cc b/source/blender/io/usd/intern/usd_reader_mesh.cc index c854b7033e4..b45dd0b07a7 100644 --- a/source/blender/io/usd/intern/usd_reader_mesh.cc +++ b/source/blender/io/usd/intern/usd_reader_mesh.cc @@ -191,7 +191,7 @@ static std::optional convert_usd_type_to_blender( const eCustomDataType *value = type_map.lookup_ptr(usd_type); if (value == nullptr) { - WM_reportf(RPT_WARNING, "Unsupported type for mesh data"); + WM_reportf(RPT_WARNING, "Unsupported type %s for mesh data", usd_type.GetAsToken().GetText()); return std::nullopt; }