USD import: improve unsupported type warning.

Now including the USD type name in the warning for
unsupported attribute types.
This commit is contained in:
Michael Kowalski 2023-08-14 15:51:00 -04:00
parent 9a084d7c69
commit ccbb185d39
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ static std::optional<eCustomDataType> 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;
}