Skip to content

Commit

Permalink
Merge pull request #3964 from Autodesk/bailp/EMSUSD-0/fix-bad-registe…
Browse files Browse the repository at this point in the history
…r-string-merge

EMSUSD-0 fix bad merge in string resources
  • Loading branch information
seando-adsk authored Oct 17, 2024
2 parents 7c72649 + 04a3da4 commit 5db48a5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/mayaUsd/resources/scripts/mayaUsdLibRegisterStrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ def mayaUsdLibUnregisterStrings():
"kUsdASCIIFiles": "USD ASCII Files",
"kUsdBinaryFiles": "USD Binary Files",
"kUsdCompressedFiles": "USD Compressed Files",

# readJob.cpp
"kAboutToChangePrefs": "The USD import is about to change the Maya preferences.\n" +
"Save your changes in the preferences window?",
"kAboutToChangePrefsTitle": "Save Preferences",
"kSavePrefsChange": "Save Preferences",
"kDiscardPrefsChange": "Discard Preferences",
}


Expand Down Expand Up @@ -192,13 +199,6 @@ def unregisterPluginResource(pluginId, stringId):
return
cmds.displayString(fullId, delete=True)

# readJob.cpp
register("kAboutToChangePrefs", "The USD import is about to change the Maya preferences.\n" +
"Save your changes in the preferences window?")
register("kAboutToChangePrefsTitle", "Save Preferences")
register("kSavePrefsChange", "Save Preferences")
register("kDiscardPrefsChange", "Discard Preferences")


def registerPluginResource(pluginId, stringId, resourceStr):
'''See registerPluginResource.mel in Maya.
Expand Down

0 comments on commit 5db48a5

Please sign in to comment.