From 163b50ffe301fcc9df7898e3841fb294b6eb23ae Mon Sep 17 00:00:00 2001 From: Samuel Liu Date: Thu, 19 Dec 2024 17:26:44 -0500 Subject: [PATCH] Disable edit as maya for geometry light --- lib/usd/translators/lightReader.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/usd/translators/lightReader.cpp b/lib/usd/translators/lightReader.cpp index 7c755a525f..0ab14f6a74 100644 --- a/lib/usd/translators/lightReader.cpp +++ b/lib/usd/translators/lightReader.cpp @@ -55,22 +55,22 @@ PXRUSDMAYA_DEFINE_READER(UsdLuxDomeLight, args, context) } return false; } -*/ -PXRUSDMAYA_DEFINE_READER(UsdLuxDistantLight, args, context) +PXRUSDMAYA_DEFINE_READER(UsdLuxGeometryLight, args, context) { if (TfGetEnvSetting(MAYAUSD_IMPORT_RFM_LIGHTS)) { return UsdMayaTranslatorRfMLight::Read(args, context); } - return UsdMayaTranslatorLight::Read(args, context); + return false; } +*/ -PXRUSDMAYA_DEFINE_READER(UsdLuxGeometryLight, args, context) +PXRUSDMAYA_DEFINE_READER(UsdLuxDistantLight, args, context) { if (TfGetEnvSetting(MAYAUSD_IMPORT_RFM_LIGHTS)) { return UsdMayaTranslatorRfMLight::Read(args, context); } - return false; + return UsdMayaTranslatorLight::Read(args, context); } PXRUSDMAYA_DEFINE_READER(UsdLuxRectLight, args, context)