[Bf-blender-cvs] [754add813cd] usd-importer-T81257: Removed debug output.
Michael A. Kowalski
noreply at git.blender.org
Sun Nov 22 04:38:36 CET 2020
Commit: 754add813cded02fafb4dffaaffa665271548b09
Author: Michael A. Kowalski
Date: Sat Nov 21 22:36:24 2020 -0500
Branches: usd-importer-T81257
https://developer.blender.org/rB754add813cded02fafb4dffaaffa665271548b09
Removed debug output.
===================================================================
M source/blender/io/usd/import/usd_material_importer.cc
===================================================================
diff --git a/source/blender/io/usd/import/usd_material_importer.cc b/source/blender/io/usd/import/usd_material_importer.cc
index 82741274eea..68f3c26fd33 100644
--- a/source/blender/io/usd/import/usd_material_importer.cc
+++ b/source/blender/io/usd/import/usd_material_importer.cc
@@ -314,12 +314,10 @@ void USDMaterialImporter::set_node_input(const pxr::UsdShadeInput &usd_input,
/* For now, only convert UsdUVTexture and UsdPrimvarReader_float2 inputs. */
if (shader_id == usdtokens::UsdUVTexture) {
- std::cerr << "Have UsdUVTexture shader input.\n";
convert_usd_uv_texture(
source_shader, source_name, dest_node, dest_socket_name, ntree, column + 1, r_ctx);
}
if (shader_id == usdtokens::UsdPrimvarReader_float2) {
- std::cerr << "Have UsdPrimvarReader_float2 shader input.\n";
convert_usd_primvar_reader(
source_shader, source_name, dest_node, dest_socket_name, ntree, column + 1, r_ctx);
}
@@ -405,7 +403,6 @@ void USDMaterialImporter::convert_usd_uv_texture(const pxr::UsdShadeShader &usd_
pxr::VtValue file_val;
if (file_input.Get(&file_val) && file_val.IsHolding<pxr::SdfAssetPath>()) {
std::string file_path = file_val.Get<pxr::SdfAssetPath>().GetResolvedPath();
- std::cout << file_path << std::endl;
if (!file_path.empty()) {
const char *im_file = file_path.c_str();
Image *image = BKE_image_load_exists(bmain_, im_file);
More information about the Bf-blender-cvs
mailing list