// =========================================================================== // Copyright 2018 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this software in either electronic or hard copy form. // =========================================================================== // PLUGIN NAME: dx11Shader // FILE: dx11ShaderInitStrings.mel // DESCRIPTION: Register script resources for the "dx11Shader" plugin global proc dx11ShaderInitStrings() { loadPluginLanguageResources("dx11Shader", "dx11Shader.pres.mel"); // The code that tries to generate nice UI names from CamelCase object names has problems with the number 11, // Let's help by providing a nice UI name, string $niceName = getPluginResource( "dx11Shader", "kNiceNodeName" ); displayString -replace -value $niceName "n_dx11Shader.niceName"; }