USD export: option to add a root prim. #107855

Merged
Michael Kowalski merged 12 commits from makowalski/blender:usd-root-prim into main 2023-05-15 16:01:06 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 3b65cdc65b - Show all commits

View File

@ -83,7 +83,7 @@ static bool prim_path_valid(const char *path)
std::string errMsg;
if (!pxr::SdfPath::IsValidPathString(path, &errMsg)) {
WM_reportf(
RPT_ERROR, "USD Export: invalid Root Prim path string '%s': %s", path, errMsg.c_str());
RPT_ERROR, "USD Export: invalid path string '%s': %s", path, errMsg.c_str());
return false;
}
@ -92,7 +92,7 @@ static bool prim_path_valid(const char *path)
pxr::SdfPath sdf_path(path);
if (!sdf_path.IsAbsolutePath()) {
WM_reportf(RPT_ERROR, "USD Export: Path '%s' is not an absolute path", path);
WM_reportf(RPT_ERROR, "USD Export: path '%s' is not an absolute path", path);
return false;
}