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:
authorMichael Kowalski <makowalski@nvidia.com>2022-05-02 06:51:23 +0300
committerMichael Kowalski <makowalski@nvidia.com>2022-05-02 06:51:23 +0300
commitcebad553c9c92b45909342700f51e1c3bfaee8fc (patch)
tree35bcd156a47ba29430890d9086a8237c161d746e
parent5bddc84c86e61efc879bf859e9ca661447dc2b10 (diff)
Fixed compiler error.tmp-usd-mak-c87f6242
-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");