Skip to content

Commit

Permalink
Disable edit as maya for geometry light
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelliu-adsk committed Dec 19, 2024
1 parent 4dff870 commit 163b50f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/usd/translators/lightReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 163b50f

Please sign in to comment.