Skip to content

Commit 144b7a8

Browse files
Update lib/mayaHydra/hydraExtensions/sceneIndex/mayaHydraSceneIndex.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent deffb36 commit 144b7a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/mayaHydra/hydraExtensions/sceneIndex/mayaHydraSceneIndex.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -581,13 +581,13 @@ VtValue MayaHydraSceneIndex::GetMaterialResource(const SdfPath& id)
581581
id,
582582
[](MayaHydraMaterialAdapter* a) -> VtValue { return a->GetMaterialResource(); },
583583
_materialAdapters);
584-
584+
585585
// For PRMan lights, the material network is stored in the light adapter
586586
if (ret.IsEmpty()) {
587-
ret = _GetValue<MayaHydraLightAdapter, VtValue>(
588-
id,
589-
[](MayaHydraLightAdapter* a) -> VtValue { return a->GetLightMaterialNetwork(); },
590-
_lightAdapters
587+
ret = _GetValue<MayaHydraLightAdapter, VtValue>(
588+
id,
589+
[](MayaHydraLightAdapter* a) -> VtValue { return a->GetLightMaterialNetwork(); },
590+
_lightAdapters
591591
);
592592
}
593593

0 commit comments

Comments
 (0)