From 1f48e9fb7ffc9a057d54c395f862a6c4a32270c6 Mon Sep 17 00:00:00 2001 From: Sebastien Blaineau-Ortega Date: Wed, 13 Jul 2022 09:08:28 +0200 Subject: [PATCH] Fix build issue with curve pinning #800 (#1213) --- translator/reader/read_geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translator/reader/read_geometry.cpp b/translator/reader/read_geometry.cpp index cc04e6538f..611e4aa957 100644 --- a/translator/reader/read_geometry.cpp +++ b/translator/reader/read_geometry.cpp @@ -423,7 +423,7 @@ void UsdArnoldReadCurves::Read(const UsdPrim &prim, UsdArnoldReaderContext &cont basis = str::catmull_rom; #if ARNOLD_VERSION_NUMBER >= 70103 if (basisType == UsdGeomTokens->bspline || basisType == UsdGeomTokens->catmullRom) - AiNodeSetStr(GetArnoldNode(), str::wrap_mode, AtString{wrapMode.GetText()}); + AiNodeSetStr(node, str::wrap_mode, AtString(wrapMode.GetText())); #endif } }