Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/io/usd/intern/usd_writer_material.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/io/usd/intern/usd_writer_material.cc b/source/blender/io/usd/intern/usd_writer_material.cc
index 96d65bb397e..e416c8f22f3 100644
--- a/source/blender/io/usd/intern/usd_writer_material.cc
+++ b/source/blender/io/usd/intern/usd_writer_material.cc
@@ -33,8 +33,6 @@
#include <pxr/pxr.h>
#include <pxr/usd/usdGeom/scope.h>
-#include <pxr/usd/usdShade/connectableAPI.h>
-
#include <cctype>
#include <iostream>
@@ -2057,7 +2055,7 @@ void create_mdl_material(const USDExporterContext &usd_export_context,
return;
}
- material_surface_output.ConnectToSource(shader, usdtokens::out);
+ material_surface_output.ConnectToSource(shader.ConnectableAPI(), usdtokens::out);
umm_export_material(usd_export_context, material, shader, "MDL");