Add note about mismatch with Riley API
authorunhyperbolic <unhyperbolic@users.noreply.github.com>
Sat, 3 Feb 2024 04:03:10 +0000 (20:03 -0800)
committerpixar-oss <pixar-oss@users.noreply.github.com>
Mon, 5 Feb 2024 20:21:06 +0000 (12:21 -0800)
(Internal change: 2314232)

third_party/renderman-25/plugin/hdPrman/camera.cpp

index 4846fe94dd46206e2463a923b495f5e1f4a2855d..a4a8d302000c89cc30b4e71ae244d98f9dc959dd 100644 (file)
@@ -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"))
 );