Skip to content

Commit 1e7036d

Browse files
tallytalwarpixar-oss
authored andcommitted
Do not map relationship properties in AttributeMapping
(Internal change: 2392178)
1 parent 708ab23 commit 1e7036d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pxr/usdImaging/usdRiPxrImaging/pxrCameraProjectionAPIAdapter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ _GetNamespacedPropertyMappingsForAppliedSchema(
130130
}
131131

132132
for (const TfToken &usdName : primDef->GetPropertyNames()) {
133+
auto prop = primDef->GetPropertyDefinition(usdName);
134+
if (!prop || !prop.IsAttribute()) {
135+
continue;
136+
}
133137
std::pair<TfToken, TfToken> namespaceAndName =
134138
_SplitNamespace(usdName);
135139
if (namespaceAndName.first == _tokens->outputs) {

0 commit comments

Comments
 (0)