Skip to content

Commit

Permalink
Fixed gcc 11.2 Linux compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppt-adsk committed Mar 25, 2024
1 parent 89ca6c4 commit 0832052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mayaHydra/mayaPlugin/renderOverride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ class UsdPickHandler : public MtohRenderOverride::PickHandlerBase {
// Implicit prototype instancing (i.e. USD native instancing).
auto schema = HdPrimOriginSchema(instancerContext.instancePrimOrigin);
if (!TF_VERIFY(schema, "Cannot build prim origin schema for USD native instance.")) {
return {{}, -1};
return {SdfPath(), -1};
}
return {schema.GetOriginPath(HdPrimOriginSchemaTokens->scenePath), -1};
}
Expand Down

0 comments on commit 0832052

Please sign in to comment.