From 81ed2de35b611a764835ef39e80dea275c9938a5 Mon Sep 17 00:00:00 2001 From: unhyperbolic Date: Fri, 2 Feb 2024 20:03:10 -0800 Subject: [PATCH] Add note about mismatch with Riley API (Internal change: 2314232) --- third_party/renderman-25/plugin/hdPrman/camera.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/third_party/renderman-25/plugin/hdPrman/camera.cpp b/third_party/renderman-25/plugin/hdPrman/camera.cpp index 4846fe94d..a4a8d3020 100644 --- a/third_party/renderman-25/plugin/hdPrman/camera.cpp +++ b/third_party/renderman-25/plugin/hdPrman/camera.cpp @@ -44,6 +44,11 @@ TF_DEFINE_PRIVATE_TOKENS( _tokens, ((shutterOpenTime, "ri:shutterOpenTime")) ((shutterCloseTime, "ri:shutterCloseTime")) + // We follow the PRManCamera.args convention here and camel case. + // Annoyingly, the string when passing params to the + // Riley::Create/ModifyCamera is RixStr.k_shutteropening with + // all small letters. + // ((shutterOpening, "ri:shutterOpening")) ); -- 2.34.1