narrowPolyViewer/narrowPolyViewerMain.cpp
#include "narrowPolyViewerCmd.h"
#include <maya/MFnPlugin.h>
{
"5.0", "Any");
kViewCmdName,
narrowPolyViewerCmd::creator,
narrowPolyViewer::creator);
if (MS::kSuccess != cmdStatus) {
cmdStatus.
perror(
"registerModelEditorCommand");
return cmdStatus;
}
return cmdStatus;
}
{
MStatus cmdStatus = cmdPlugin.deregisterModelEditorCommand(kViewCmdName);
if (MS::kSuccess != cmdStatus) {
cmdStatus.
perror(
"deregisterModelEditorCommand");
return cmdStatus;
}
return cmdStatus;
}