Skip to content

Commit

Permalink
EMSUSD-630 Enabled Load Payload By Default On Add Payload UI
Browse files Browse the repository at this point in the history
  • Loading branch information
AramAzhari-adsk committed Oct 6, 2023
1 parent 95436e0 commit b647268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mayaUsd/resources/scripts/mayaUsdUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b647268

Please sign in to comment.