Commit: cebad553c9c92b45909342700f51e1c3bfaee8fc
Author: Michael Kowalski
Date: Sun May 1 23:51:23 2022 -0400
Branches: tmp-usd-mak-c87f6242
https://developer.blender.org/rBcebad553c9c92b45909342700f51e1c3bfaee8fc
Fixed compiler error.
===================================================================
M source/blender/io/usd/intern/usd_writer_material.cc
===================================================================
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");
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs