Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
JGamache-autodesk committed Nov 8, 2024
1 parent f791466 commit 16fbe8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mayaUsd/fileio/shading/shadingModeUseRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -721,13 +721,13 @@ class UseRegistryShadingModeImporter
MFnAttribute mayaFnAttr(mayaAttr.attribute());
if (!srcFnAttr.acceptsAttribute(mayaFnAttr)) {
if (srcAttr.isChild()) {
const auto srcParentPlug = srcAttr.parent();
const auto srcParentPlug = srcAttr.parent();
MFnAttribute srcParentAttr(srcParentPlug.attribute());
if (srcParentAttr.acceptsAttribute(mayaFnAttr)) {
srcAttr = srcParentPlug;
}
} else if (mayaAttr.isChild()) {
const auto mayaParentPlug = mayaAttr.parent();
const auto mayaParentPlug = mayaAttr.parent();
MFnAttribute mayaParentAttr(mayaParentPlug.attribute());
if (srcFnAttr.acceptsAttribute(mayaParentAttr)) {
mayaAttr = mayaParentPlug;
Expand Down

0 comments on commit 16fbe8a

Please sign in to comment.