From 599329d745f89a3b03c3bee5e2cd9c2ef86873f7 Mon Sep 17 00:00:00 2001 From: Sean Donnelly <23455376+seando-adsk@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:21:34 -0500 Subject: [PATCH] EMSUSD-956: Resource Identifier warning on first launch of MayaUSD * Removed duplicate string resource. --- plugin/adsk/scripts/mayaUSDRegisterStrings.mel | 1 - plugin/adsk/scripts/mayaUsd_createStageFromFile.mel | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/adsk/scripts/mayaUSDRegisterStrings.mel b/plugin/adsk/scripts/mayaUSDRegisterStrings.mel index 4578d17ec3..ced276d299 100644 --- a/plugin/adsk/scripts/mayaUSDRegisterStrings.mel +++ b/plugin/adsk/scripts/mayaUSDRegisterStrings.mel @@ -120,7 +120,6 @@ global proc mayaUSDRegisterStrings() register("kTimeAnn", "Edits the current time value of a stage, which corresponds to the animation frame drawn in the viewport. By default, this value connects to Maya's global time node."); register("kTipYouCanChooseMultipleFiles", "Tip: You can choose multiple files."); register("kUniversalSceneDescription", "Universal Scene Description"); - register("kUsdStage", "Stage"); register("kUsdOptionsFrameLabel", "Universal Scene Description (USD) Options"); register("kSaveOption2GBWarning", "Important: per layer, any data exceeding the limit of 2GB will not be saved."); diff --git a/plugin/adsk/scripts/mayaUsd_createStageFromFile.mel b/plugin/adsk/scripts/mayaUsd_createStageFromFile.mel index cd7ae895f1..6bd5639c0d 100644 --- a/plugin/adsk/scripts/mayaUsd_createStageFromFile.mel +++ b/plugin/adsk/scripts/mayaUsd_createStageFromFile.mel @@ -76,7 +76,7 @@ global proc string stageFromFile_UISetup(string $parent) // Then add the stage from file specific section. setParent $layout; - $title = `getMayaUsdString("kUsdStage")`; + $title = `getMayaUsdString("kLabelStage")`; $frame = `frameLayout -label $title -collapsable false`; checkBoxGrp -l `getMayaUsdString("kLoadPayloads")` -ann `getMayaUsdString("kLoadPayloadsAnn")`