Skip to content

Commit

Permalink
Replace MString.isEmpty for 2022 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-mcg committed Mar 7, 2024
1 parent 8935c16 commit d67fc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mayaUsd/nodes/proxyShapeBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ SdfPath MayaUsdProxyShapeBase::_GetPrimPath(MDataBlock dataBlock) const
return SdfPath::EmptyPath();
}

if (primPathStr.isEmpty()) {
if (primPathStr.length() == 0) {
return SdfPath::AbsoluteRootPath();
} else {
const SdfPath path(primPathStr.asChar());
Expand Down

0 comments on commit d67fc40

Please sign in to comment.