Commit: 00e79e2f7b4460c466059368c1e58f1bf6d7c7a6
Author: makowalski
Date: Fri Jun 18 17:13:50 2021 -0400
Branches: usd-importer-T81257-merge
https://developer.blender.org/rB00e79e2f7b4460c466059368c1e58f1bf6d7c7a6
USD Importer code cleanup.
Removed unneeded print statement. Calling empty() to
check for empty string.
===================================================================
M source/blender/io/usd/intern/usd_reader_stage.cc
===================================================================
diff --git a/source/blender/io/usd/intern/usd_reader_stage.cc
b/source/blender/io/usd/intern/usd_reader_stage.cc
index ad495692e33..7764f46de42 100644
--- a/source/blender/io/usd/intern/usd_reader_stage.cc
+++ b/source/blender/io/usd/intern/usd_reader_stage.cc
@@ -287,8 +287,7 @@ void USDStageReader::collect_readers(Main *bmain,
std::string prim_path_mask(params.prim_path_mask);
- if (prim_path_mask.size() > 0) {
- std::cout << prim_path_mask << '\n';
+ if (!prim_path_mask.empty()) {
pxr::SdfPath path = pxr::SdfPath(prim_path_mask);
pxr::UsdPrim prim =
stage_->GetPrimAtPath(path.StripAllVariantSelections());
if (prim.IsValid()) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs