From b64726813f960c472a27a561581ce110591751f6 Mon Sep 17 00:00:00 2001 From: Aram Azhari Date: Fri, 6 Oct 2023 08:43:09 -0400 Subject: [PATCH] EMSUSD-630 Enabled Load Payload By Default On Add Payload UI --- lib/mayaUsd/resources/scripts/mayaUsdUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mayaUsd/resources/scripts/mayaUsdUtils.py b/lib/mayaUsd/resources/scripts/mayaUsdUtils.py index 803192d5b1..bbfcf40ef5 100644 --- a/lib/mayaUsd/resources/scripts/mayaUsdUtils.py +++ b/lib/mayaUsd/resources/scripts/mayaUsdUtils.py @@ -205,7 +205,7 @@ def saveWantPrependCompositionArc(want): def wantPayloadLoaded(): opVarName = "mayaUsd_WantPayloadLoaded" - return cmds.optionVar(exists=opVarName) and cmds.optionVar(query=opVarName) + return not cmds.optionVar(exists=opVarName) or cmds.optionVar(query=opVarName) def saveWantPayloadLoaded(want): opVarName = "mayaUsd_WantPayloadLoaded"